petterroea

LD21

Game design ideas

Preparing for my first Ludum dare, i was thinking of a game idea which would be really Cool. Wonder if it will fit with the chosen theme…

Anyway, i am a first timer, and i Use Eclipse + Java to create my games, paint.net for Graphics, and sfxr for sound effect stuff. Would be Cool if a theme like “Bend the rules” would of won, but of since that is not a theme for this event, i hope for something like that to win

Got a game idea, working on game

Got this idea that kinda sounds fun… I don’t know if i should trust myself, though…

Level design of old game

...Of my Old game

Title and image name says it…

 

I chose my mind because it got a bit too violent and bad. Red dots are prisoners, blue dots are doors that explode so the prisoners can escape.

Game work at a halt…

Because of some problems, my work is at a halt. I have made some basic engine stuff and graphics for player, turrets, and Neurotoxin emitters. The problem is that my “Wonderful” game’s Applet class won’t draw to the screen!

Also, here is the code for any who wants to help/see how i code my Applet.

WARNING: MESSY!!!

package net.petterroea;

import java.applet.Applet;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Image;
import java.awt.event.FocusEvent;
import java.awt.event.FocusListener;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.awt.image.BufferedImage;

public class TheBox extends Applet implements Runnable{
Input input;
Screen screen;
boolean running;
Thread thisThread;
Image backBuffer;
public TheBox()
{
thisThread = new Thread(this);
input = new Input(this);
this.setPreferredSize(new Dimension(640, 480));
this.addKeyListener(input);
this.addFocusListener(input);
this.addMouseListener(input);
Media.loadImages();
screen = new MainMenuScreen();
}
@Override
public void start()
{
running = true;
thisThread.run();
}
@Override
public void stop()
{
running = false;
}
@Override
public void run()
{
Graphics realg = null;
Graphics g = null;
while(running)
{
synchronized(this)
{
System.out.println(this.getWidth() + ” ” + this.getHeight());
realg = this.getGraphics();
if(backBuffer == null)
{
backBuffer = createImage(this.getWidth(), this.getHeight());
}
else if(backBuffer.getWidth(null) != this.getWidth() || backBuffer.getHeight(null) != this.getHeight())
{
backBuffer = createImage(this.getWidth(), this.getHeight());

}

g = backBuffer.getGraphics();
screen.tick(g);
realg.drawImage(backBuffer, 0, 0, null);
try {
Thread.sleep(50);
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}
}
}

 

(My game IS open source)

So i can’t enter…

I am very sad, because i can’t enter. My game’s physics sucks, and so does the rest of the game.

 

Here is the source, media, etc(Should compile with std java aswell): Download source

The reasons for not making it are as follows:

 

  • Had Notch’s Livestream on another screen
  • I suck at physics
  • Eclipse failed on me. After 19 hours i remembered i could try netbeans. That worked.
  • Youtube.

 

Hope you other guys got more progress!

 

– Petterreoa

Comments

21. Aug 2011 · 18:05 UTC
:(
21. Aug 2011 · 19:17 UTC
Well, at least now i remember to check if everything is working before i start 😀

Timelapse of my failed attempt

Timelapse

 

This is the timelapse of my attempt at Ludum dare. If you watch closely, you can see that i make 3 games. Two extra because of technical problems

LD22

Ludum dare 22 warmup

So this weekend i have mostly been playing lava survival. But i need some practice for the upcoming ludum dare.

Because i have never coded sound before. So i am thinking of a simple game that is like whack-a-mole.

Just to get started.

 

Also.. I’m in. I will be using Java w eclipse. And paint.net for graphics.

I am also livestreaming this as livestream.com/petterroea

Tags: warmup

Looking good, but i have a problem!

Yup. I need the player, at a constant coordinate of 400, 300, to face the mouse. And i suck at stuff like this? Any help?

rotation degrees = 0 when facing right. Up is 270. ect…

Comments

delpes
17. Dec 2011 · 13:18 UTC
float radiansToMouse = (float) Math.atan2(400 – input.getMouseX(), 300 – input.getMouseY());

float degreesToMouse = (57.2957795f * radiansToMouse) * -1;

heroImage.setRotation(degreesToMouse);
17. Dec 2011 · 13:26 UTC
Yes, thanks! You saved my day!

And another math problem…

I have allready had one problem, but here comes another one! I want a image to rotate 20 pixels from a center coordinate, based on degrees in the rotation. This so i can make a muzzleflash. How do i do that? I am only 13 yrs old, so school hasn’t covered this stuff yet :(

Comments

handuel
17. Dec 2011 · 15:47 UTC
Im 13 as well 😀 i tought myself java at home. Came here to make a game and(never)… I’m failing

Nearly done!

I am nearly done! Here, let me show you a pic:

Try it here!
 

Yay^^

 

I now have zombies with a primitive AI, a failsafe collision engine, weapoons, reloading, ammo, sound, and gameplay ready!

This is what i have left:

 

More levels

More guns

Make zombies heads face the player!

Done!

I just finished my game! It is written in java, and i must say, i am quite happy with it.(I am 13 and i have use java for about a year now).
It has particles, sound, multiple levels(and it is easy to mod in more!*hint**hint*)
Screenshots:

Lol

 

Timelapse cooming out some day next week!

You can find the game here!

You can find the game in the compo entries under “Alone with zombies!

LD23

I’m in! For the third time!

Yey!

Hopefully i wont fail like first time.

Last time, i made a game called “Alone with zombies”. I am very happy with it!

 

I am using Java(Eclipse IDE), Paint.net and sfxr. And mabe that graphics program that is free under ludum dare.

Also, fuel: Noodles, premade dinners, Energy drinks, and Juice. Orange juice.

 

I will also be livestreaming at: livestream.com/petterroea

 

See you in IRC when the game begins!

http://www.ludumdare.com/compo/2012/04/19/im-in-for-the-third-time/

 

Comments

OPFRProductions
19. Apr 2012 · 07:39 UTC
Heyy! I want to do It! But I want to do the Jam with a team 😀 Would ou like too do it with me in a team? Coz that would be awesome 😀 is oscar.firth.robertson so yer 😀 Pls… so inbox me or whatever

Thanks

OPFRProductions
26. Aug 2012 · 09:26 UTC
Thanks, but i have my own website 😉

My game idea!

I will upload a pic in a few hours, after animating my character.

In the game idea, you are a person living on a very small planet. In fact, it is so small, it is not more then 2x the size of the screen. And it is recurring. If you go out of the virtual map on one side, it looks like you are just walking around the planet. To make the planet feel more tiny, there are going to be quests you have to complete. When ALL of the quests are done, you wil gain access to a dungeon where you fight against a boss and win the game.

Progress!

I have implemented movement and tiles. Now i need to add scenery, and quests. The map is small aswell. My focus on “tiny” is going to be a sick amount of quests for the map size.

LD24

I’m in! This time in the jam!

This will be my 4’th ludum dare. With only 1 completed, i feel bad.

But this time i am going for the jam with another guy! That will be fun.

We are using:

 

Java

Paint.net

I might be using milkytracker for music. But i suck at tracking.

Im in with a twist!

I am doing the jam with another guy.

But the sad fact is that i am going to england with dad that weekend. So i guess i am going to be programming in two different countries, and on a plane :P.

Yey.

Git repo!

I just added a git repo that is going to be used under Ludum dare. Follow us if you want to!

We are two people working, so git is important. See you closer to Ludum dare!

 

GIT REPO HERE

Rendering working!

It has been 12 hours. On my first jam. With 1 hour of coding done(Went shopping with dad for a long time, and slept). And i got rendering working!

 

This picture does not show off much, but it perfectly reads a level off a bitmap and draws it in realtime with 600 fps. Time to fix some stuff:

The level bitmap was made for the old scale. I now have a smaller scale on the screen, so yeah. Need to fix that. Work!

Progress

The progress so far is measured in source code:

https://github.com/petterroea/LD24

 

The game is a platformer based around the idea that you are a guy rented in by a science facility after they… Well, lets say the geiger counter is over 9000. You wear a radioactive suit, and have to go through levels of mutated creatures(Cellusious on the IRC said mutation was evolution). At the end of the game, you reach a button for activating neurotoxin(To kill of the mutants), guarded by a dangerus mutant. You and your trusty Evolutiotron must defeat him and activate the neurotoxin.

 

The gun you use is called the evolutiotron. Each time you kill someone, you get XP. You can use that XP to evolve your gun.