Welcome Guest ( Log In | Register )

[ Big| Medium| Small] -



Post new topic Reply to topic  [ 6 posts ] 
    9robin3
  Mon Oct 11, 2010 4:11 pm
Robin Andblom
User avatar
Member

Party Mascot
Hi! I am using GM8 and I am making a game where your player changes to an animated sprite when he walks. The problem is that the new sprite with animation (walking) someway get stuck in the "ground" (solid objects). It hacks when I walk with my player_object. How do I fix this, and is the sprite mask in a special form that makes the sprite/object get stuck in the solid object(s)? I have automatic ; rectangle mask for the ANIMATED sprite and Precise Collision Checking also set to it.

HERES MY PAYER_OBJECT INFO:
Player_Object INFO


BUT is there something I have missed and/or done wrong? Please help me!!

Here's a record of my problem:


_________________
MY PAGES:
MY HOMEPAGE
MY FB GAME PAGE
MY YOUTUBE

__________________________________________________________________________________________
GAMES IN PROGRESS:

Image

Image


Last edited by 9robin3 on Sun Oct 17, 2010 12:00 pm, edited 1 time in total.

Top Top
Profile      
 

    9robin3
  Wed Oct 13, 2010 4:01 pm
Robin Andblom
User avatar
Member

Party Mascot
Hello, somebody plz help!!

_________________
MY PAGES:
MY HOMEPAGE
MY FB GAME PAGE
MY YOUTUBE

__________________________________________________________________________________________
GAMES IN PROGRESS:

Image

Image


Top Top
Profile      
 

    OS
  Fri Oct 15, 2010 6:20 pm
OS is not an ambiguous acronym. It is a way of life.
User avatar
Sponsor


Location: Over Seas
It would soooooo much easier to help if you posted your player_object info. Just to let you know...

_________________
Software Request Shop

Now taking requests. Written works, programs, games, lessons, whatever. Pricing negotiable.


Top Top
Profile      
 

    9robin3
  Sun Oct 17, 2010 11:58 am
Robin Andblom
User avatar
Member

Party Mascot
Information about object: Mario

Sprite: sprite6
Solid: false
Visible: true
Depth: 0
Persistent: false
Parent: <no parent>
Mask: Collision mask

Create Event:
execute code:

grav=.3;
mspeed = 8;

Step Event:
execute code:

if (place_free(x,y+1)) {
gravity = grav;
}else{
gravity = 0
}

Collision Event with object Mark:
start moving in directions 000010000 with speed set to 0

Collision Event with object Mark:
start moving in directions 000010000 with speed set to 0

Collision Event with object Mark:
execute code:

vspeed = 0;

Collision Event with object Victory Mark:
execute code:

vspeed = 0;

Collision Event with object OFF Block:
execute code:

vspeed = 0;

Keyboard Event for <Space> Key:
execute code:

if!(place_free(x,y+1)) {
vspeed -= 8;}

Keyboard Event for P-key Key:
display message: GAME PAUSED

Other Event: Outside Room:
for other object: jump to the start position
set the number of lives relative to -1

Other Event: Game Start:
set the score to 0
set the number of lives to 5
set the information in the window caption:
show score with caption score:
show lives with caption lives:
don't show health with caption health:

Other Event: No More Lives:
display message: TRY AGAIN !!!
show the highscore table
background: Donut Plains
show the border
new color: 16384, other color: 255
Font: "Times New Roman",10,255,0,0,0,0
restart the game

Key Press Event for <Left> Key:
set speed to 3 and direction to 180
set the sprite to MovingLEFT with subimage 0 and speed 1

Key Press Event for <Right> Key:
set speed to 3 and direction to 0
set the sprite to MovingRIGHT with subimage 0 and speed 1

Key Release Event for <Left> Key:
start moving in directions 000010000 with speed set to 0
set the sprite to sprite6 with subimage 0 and speed 1

Key Release Event for <Right> Key:
start moving in directions 000010000 with speed set to 0
set the sprite to sprite13 with subimage 0 and speed 1

There you go;)

_________________
MY PAGES:
MY HOMEPAGE
MY FB GAME PAGE
MY YOUTUBE

__________________________________________________________________________________________
GAMES IN PROGRESS:

Image

Image


Top Top
Profile      
 

    9robin3
  Tue Nov 23, 2010 8:32 am
Robin Andblom
User avatar
Member

Party Mascot
BUMP

_________________
MY PAGES:
MY HOMEPAGE
MY FB GAME PAGE
MY YOUTUBE

__________________________________________________________________________________________
GAMES IN PROGRESS:

Image

Image


Top Top
Profile      
 

    9robin3
  Wed Dec 15, 2010 11:08 am
Robin Andblom
User avatar
Member

Party Mascot
BUMPIBUMP

_________________
MY PAGES:
MY HOMEPAGE
MY FB GAME PAGE
MY YOUTUBE

__________________________________________________________________________________________
GAMES IN PROGRESS:

Image

Image


Top Top
Profile      
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


Who is online

Users browsing this forum: No users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

We are an independent, not-for-profit game making community.
Homepage
Board Index
About Us
Downloadable Games
Free Browser Games
Games in Development
RPG Maker Support
Game Maker Support
Construct 2 Support
HBGames the eZine
Advanced RPG Maker
Site Announcements
Powered by phpBB © phpBB Group