Simplicity

So im kinda putting my SWAP game on hold because i realized its just to big of a project for a first game and that i should start with something small that i can finish then move on to something a little bigger and bigger and so on. NOT saying im not going to do the game maybe after i finish this new project but just not right now. So what i wanted to ask is everyone what is a game no more complicated then say bejewled or tetris but a game that you would want to see made just something small and simple i can finish within a few weeks or so maybe something that would also go good on a mobile platform later on. Let me know thanks again guys:)

FallDown is always fun and addictive to play, once it has nice visuals and a save score option :slight_smile:
http://dailyiphoneblog.com/wp-content/uploads/2010/02/falldown.jpg

Not necessarily you have to start with something simpler, I didn’t; you can grown in knowledge while working in your project. If it is too big, make it smaller; if it is too complex, make it simpler, keeping the base project intact.

It sure is possible to keep working in your dream project without working in smaller ones(you will buy yourself time).

Thought if you preffer smaller projects, what do you think about making your own version of pac-man or asteroids?

Ya i just want to get one ocomplished rather then working on one that will probaly take another year this way i can get a fast turn around to see if people like it then do the big one later.

EDIT sry i forgot to add Rossblenderart your idea looks cool but what is it excactly? what do you guys think of a color matching game kinda like bounce out or bejewled?

also does anybody happen to know how to have a empty randomely pick and add a plane 1 of four colors so i can have a grid of colored planes randomely generated like how bejewled randomly adds gems and such.


import bge
import random

cont = bge.logic.getCurrentController()
scene = bge.logic.getCurrentScene()

own = cont.owner
colours = [[0,0,0,0],[0,0,1,0],[1,0,0,0],[0,1,0,0]]

plane = scene.addObject("Plane",own)
plane.color = random.choice(colours)

No Logic bricks needed other than the Always and the Python controller

Make SWAP a Color-Matching-Game. You have the Base, it would fit.
(I go with felipearts: Adjust your Project to what you want and can instead of startin’ a new one – it is simply more economic.)

If you’re interested, I attached a more complete example for you:

Attachments

random_grid.blend (535 KB)

haha! We think alike C.A. Ligari thats basically what i did but a little diffrent thow it does use the swap method and colors its not exactly like the other SWAP.

and thanks agoose and goran for the script and example ill try them out to see if eather work.

EDIT: Goran on you example when i hit play nothing happens?

I’ve set it to a delay sensor, so it would change every second.

So, just wait a second, or (if you’re a very impatient person) add an always sensor to the controller (no true level triggering).

@Goran object.color is using 0.0 to 1.0 for rgba values :wink:

oh ok thanks Goran but how would i get it to do what you have but with my own custom objects witch are a little diffrent?

Edit button - ftw. :wink:

Heh, but really, thanks for the correction … I was working with a different api for a while - completely mixed me up.

Thanks again.

Put those objects on layer 2 (as I did with mine), and then initialize the plane list with the names of those objects.

I couldnt seam to figure out how to do it with your script but i also think i figured out a way to do it only with logic bricks except sometimes it adds 2 or three at a time per one empty instead of just one at a time here is my logic.

Attachments


That picture doesn’t really help much, since we can’t see the brick settings, but, in either case, python is a better way to go in this case (more flexible).

What exactly do you mean by “I couldnt seam to figure out how to do it with your script”? Did you try modifying my .blend? What were the results of that? Any errors?

More details would help.

i couldnt figure out how to change it to make it add my objects instead of the planes.
and the logic setup i have is just 4 random 4 ands and 4 add objects each with a diffrent color and then a state actuator that fires when one of them goes off so that only one can be added.

Goran made a tutorial that uses random spawning, here it is :slight_smile:

Thanks ross but thats a little diffrent then what im doing, he is doing a randome enemy spawner.

Could you not just spawn planes of different colours instead of enemies? :wink:

ya but his method is based on a empty parented to a slowly spinnin cube to kinda simulate randome spawning around the character.