Jump to content


Popcorn123

Member Since 09 Jul 2011
Offline Last Active May 18 2013 12:08 PM

Topics I've Started

Battleship - The Board Game

27 March 2013 - 01:11 AM

This is my attempt at creating a battleship game. 

Download

2966716_orig.pngI hope you enjoy my game 

Please review  :thumbsup:

If you want to play my other games, click on the link in my sig.


Domination

27 March 2013 - 01:07 AM

Hello GMC, i haven't posted in here for a while, so here is my new game Domination.

Download

1075609_orig.png

The object of the game is to conquer the board.

Please review and give feedback :thumbsup:

If you want to play my other games, go to the website in my sig.

Enjoy!!


Battleship Ai

15 March 2013 - 08:47 PM

Hello people of the GMC. I have a question that is probably not very difficult to fix, but im in a brain block, so i need your help. At the moment i am making a Battleship replica game. Now, for my cpu ai, this is what i have:
if instance_position(64+a,64+b,cpuhorm)=noone {instance_create(64+a,64+b,cpuhorm) done=true turn=1} else {done=false turn=2 event_user(0)}
event_user(0):
a=random(9)*32
b=random(9)*32
event_user(1)

event_user(0) just randomizes the a and b vars. Now, its supposed to see if you have already shot at position 64+a,64+b, but it doesn't seem to work. It doesn't seem to loop through the events. It just uses the first set of coordinates no matter what. Help would be very much appreciated.

New AI Challenge

25 January 2013 - 06:17 PM

This is a new challenge that involves ai's.
Rules
  • Can be any type of ai
  • Whatever type you make, tell us what its supposesd to do, and what type of game it works with (TDS, RTS, ect.)
  • Code can only be placed in the step event
  • Have fun

I also have an engine that will test different types of ai's against each other. The bullet object is bullet and the player parent is enemy.

There is no end to this challenge, so if you have an idea, share it with us.

3D grenade

21 November 2012 - 01:51 PM

I have been working of a 3D Online fps and my grenade doesn't work. This is the code in the step event:
if instance_exists(granade) {if granade.go = true && place_meeting(x,y,granade) && cam.z2-granade.r>granade.z && cam.z+granade.r<bullet.z && x-granade.r<granade.x 
&& x+granade.r> granade.x && y-granade.r<granade.y && y+granade.r> granade.y
{global.hp -= 10 if global.hp < 1
{clearbuffer()
writebyte(11)
writeint(other.creator)
sendmessage(global.tcp,0,0)
event_user(7)}}}
It is not doing any thing, when its suppose to damage the persons health.