Search found 5 matches

by SammL1
Mon Dec 01, 2014 9:53 am
Forum: Games
Topic: CPU controlled movement for enemy
Replies: 1
Views: 3446

CPU controlled movement for enemy

My code for creating an enemy at a random location on the top of the screen now works but I can't get the enemy to move down the screen, this is what I've got so far; on moveAlien if moveEnemy = true then send this to me in 10 millisecs set the top of image "alienEnemy" to (the bottom of image"alien...
by SammL1
Thu Nov 13, 2014 2:57 pm
Forum: Games
Topic: Can't get "enemy" character appear
Replies: 6
Views: 5290

Re: Can't get "enemy" character appear

Hi Mark, Thanks for code snippets, but when I try to implement them still nothing happens, I have several instances of the image called "canvas.png" on other cards in the stack but even with the snippets in place I can't seem to get anything to happen regarding the spawning "enemies". Is there any w...
by SammL1
Tue Nov 11, 2014 3:25 pm
Forum: Games
Topic: Can't get "enemy" character appear
Replies: 6
Views: 5290

Can't get "enemy" character appear

When I run the code for game I am creating for my Advanced Higher i can't get the enemy ship to appear on screen and i don't know what is causing this to happen, or rather not happen. on createalien create invisible image "canvas.png" set the loc of image "canvas.png" to (random(500),0) //Undecied o...
by SammL1
Mon Aug 18, 2014 2:48 pm
Forum: Games
Topic: Implement a moving camera, or use cards as map chunks?
Replies: 2
Views: 3598

Implement a moving camera, or use cards as map chunks?

I am planning on making a game and I was wondering if if it would be better for my to use different cards as map chunks, i.e. When you go to the edge of a card a new one loads that corresponds to that map position, or whether it's possible to create a camera that will be fixed on the "player" and mo...
by SammL1
Sat Aug 16, 2014 3:32 pm
Forum: Games
Topic: Moving an object
Replies: 5
Views: 5061

Moving an object

Hi all, I am planning on making a game but I am not sure how to create a command to check for input to make an object or button move on a key press, how would I go about doing this?

I only want to make it move around on a card at the moment

Go to advanced search