Jump to content


saibot22

Member Since 11 Oct 2011
Offline Last Active Feb 25 2012 03:53 PM

Topics I've Started

Zombie Night - A topdown shooter

02 December 2011 - 12:43 AM

Here I have listed a couple of problems.

1. This is my code for a friend on zombie night that only follows you:
Create:
enemy=obj_player_pistol
mode=0
wait=0
sx=0
sy=0
i=1Speed = 5;
image_speed=0
Step:
if instance_exists (obj_player_pistol)
 {
mp_potential_step (obj_player_pistol.x,obj_player_pistol.y,Speed,0)
image_angle=point_direction(x,y,obj_player_pistol.x,obj_player_pistol.y)//looks at player
 }
Collision with good_parent (player etc.)
var dir,lx,ly;
dir = point_direction(other.x,other.y,x,y);
move_contact_all(dir+180,-1);
lx = lengthdir_x(1,dir);
ly = lengthdir_y(1,dir);

while (place_meeting(x,y,other) && other != noone) {
  x += lx;
  y += ly;
}
repeat (2) {
  x += lx;
  y += ly;
}

move_bounce_all(1);
However it gets to the player and totally blocks him and I need it to follow but not do anything so if I turn around it will move away so I can move.

2. In my menu the new button works but if I press it quit go to menu and press load it works but if I press new it does the same as if I press load because persistent is ticked off because of my pause, how do I fix this?

3. For survival mode how do you do online highscore tables?

4. Thid is in my controller object's draw event:
draw_healthbar(view_xview[0],view_yview[ 
0],view_xview[0]+99,view_yview[0] 
+20,health,c_black,c_red,c_lime,0,true,true)
But it draws it in every screen I go to after I create it!

I will put up more in the future.

Zombie Night

16 November 2011 - 12:31 AM

Zombie Night

Sounds
1-3 points each
Mouse click for a zombie button
Helicopter (must loop)
Rocket Launcher
Sniper shot
Bullet impact with wooden crate

Music
A soft slow music as if you just survived the zombie attack (for credits)

Points
Evano=16
8bitboy=5
Jeppe Golden=1

Point Values
1-15=Credits
16-25=Leading Musician
26+=Tell me

This will be uptated as needed.

Textbox

14 November 2011 - 08:33 PM

I am making a game called zombie night and I can't get a textbox I tried a draw text and all of that but it just gave an error so can someone make a textbox for game maker 8.1 lite?
This must be able to have it when I press space make a new line appear.

RPG Battle Engine

09 November 2011 - 01:34 AM

  • Title:RPG Battle Engine
  • Description:This is a RPG battle engine for game maker 8.1 lite that makes RPG games in a wink of an eye!
  • GM Version: 8.1
  • Registered: No
  • File Type: .gm81
  • File Size: 1.34MG
  • File Link: Engine
Summary
An RPG battle engine with movement and for game maker 8.1 lite.

Controls
Ctrl=open menu
P=open party selection screen
Arrow keys=move
Space=enter

Screen Shots:
Spoiler


Hopefully this will increase the amount of RPG's made with game maker!
If any of this is used I want full credit!

Building Votes
0/5

Saveing and Loading

24 October 2011 - 05:43 PM

I have it so when I press esc it will do this:

:GM059: If user answers yes to a question (Do you want to quit?)
:GM063:
:GM049: Save game (savegame)
:GM037: Go to different room Menu
:GM066:

Also when I press load it does this:
:GM050: Load savegame

But it doesnt work and when I press new it goes to my first room with the player but because persistent is ticked off for my pause it doesnt make it new at all!

Now I have the code down here on this page but it froze after I quit and press new (it goes and it freezes)
also if I press load it doesn't work but it loads my health bar!

Can someone tell me how to do this without having to change my pause?
Thank you!