a game is hard to do in terms of programming, because there is a lot interactivity (mouse and keyboard input).
If you are a beginner it's easier to start by drawing a player or a house.
Or make experiments with movement (bullets) etc.
It depends also from the kind of the game. Like a tic-tac-toe game, chess, jump'n'run or a 2D shooter or a first person shooter or Adventure or Arcade or roleplay game. They are all very different. Also some are 2D, some 3D.
Game Editors
Besides, processing is cool for programming. When you want to make a game and don't want to learn real programming (or not as a priority) turn to
Those are special programs for games (editors for games) which make the process easier in some cases and the games look better than in processing and run faster.
And you need a game play idea. The best programmer needs a game idea. Even for a first person shooter you need a background story and design and ideas for the context (like pirates or sci-fi setting).
If you stick to processing
You should be familiar with the 1st 5 of the tutorials at last
Answers
Perhaps here: 8-|
https://www.khanacademy.org/cs
hello,
a game is hard to do in terms of programming, because there is a lot interactivity (mouse and keyboard input).
If you are a beginner it's easier to start by drawing a player or a house.
Or make experiments with movement (bullets) etc.
It depends also from the kind of the game. Like a tic-tac-toe game, chess, jump'n'run or a 2D shooter or a first person shooter or Adventure or Arcade or roleplay game. They are all very different. Also some are 2D, some 3D.
Game Editors
Besides, processing is cool for programming. When you want to make a game and don't want to learn real programming (or not as a priority) turn to
unity
http://unity3d.com
or Torque 2D and 3D from Garage Games.
Or GameMaker (Yoyo Games).
Those are special programs for games (editors for games) which make the process easier in some cases and the games look better than in processing and run faster.
see
http://en.wikipedia.org/wiki/List_of_game_engines
read the related articles on Wikipedia.
The game idea
And you need a game play idea. The best programmer needs a game idea. Even for a first person shooter you need a background story and design and ideas for the context (like pirates or sci-fi setting).
If you stick to processing
You should be familiar with the 1st 5 of the tutorials at last
http://www.processing.org/tutorials/
Look into
http://www.openprocessing.org please
e.g. in the collections you'll find games of course.
http://www.openprocessing.org/collection/25
You'll see a lot of games with code there.
Also for games please see
http://wiki.processing.org/w/How_to_manage_the_steps_of_a_game:_increasing_levels,_displaying_messages,_etc.?
When you come up with an idea we help you with the code.
Greetings Chrisir
I wrote some basic tutorials on game development in Processing that might help you out: staticvoidgames.com/tutorials/
the link again:
http://www.staticvoidgames.com/tutorials/
I have this code:
import java.util.Random;
Random gen; PImage img; void setup() { size(400, 300); gen = new Random(); img = loadImage("Shikra.jpg"); }
void draw() { background(255); float h = (float)gen.nextGaussian(); h = h + 10; h = h*10;
fill(0); image(img, width/2, height/2, h, h); 951 }
void mousePressed() { image(img, width/2, height/2, 100, 100);
}
please suggest what changes have to be done in order to give some more stable sketch
Where is the first message? Why do you removed it? If that's for assignments, and don't want your messages to be seen, just don't post here.
The last message seems unrelated to the topic, why do you resurrect this topic instead of creating a new one?
Have you read the To newcomers in this forum: read attentively these instructions topic, about formatting code in particular?
Given the long answer I wrote it comes as a surprise that you deleted your initial question
You also never reacted to my answer.
you can make it slower with frameRate
also you can stop it as longt as you press and hold the mouse button
;-)