Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers AppGameKit Corner / [SOLVED] all my sprites move together

Author
Message
merkzilla
User Banned
Posted: 29th May 2020 05:05 Edited at: 29th May 2020 05:43
all my sprites are moving together (except the background) and i cant find out why

im thinking its to do with the way the player sprite is created

Attachments

Login to view attachments

The author of this post has marked a post as an answer.

Go to answer

Virtual Nomad
Moderator
14
Years of Service
User Offline
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 30th May 2020 17:37
that's hard to follow with all the file attachments, missing images, etc.

can you provide a (much) simpler, "cleaner" version so we can help?

otherwise, i don't see where you are actually moving anything. i see just about everything being fixed to the screen.

meanwhile, i have noted your recent inquiries, and i think it's great that you're diving into AppGameKit, but 1 mistake that some tend to make is to copy and paste code snippets into their project without understanding the code and how those snippets will work "together" while hoping/expecting it all to just "work"
Virtual Nomad
Moderator
14
Years of Service
User Offline
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 30th May 2020 18:53 Edited at: 30th May 2020 18:54
This post has been marked by the post author as the answer.
merk,

i made some changes to the joystick code provided to you by qugurun that implemented a couple of things you have recently asked about, and hinted at a couple of others.

see attached; take your time and look through it?

Attachments

Login to view attachments
merkzilla
User Banned
Posted: 30th May 2020 20:12
thank you nomad i do tend to get to far ahead of myself and just end up confused and need to slow down lol but i thought it had something to do with the joystick code

Login to post a reply

Server time is: 2020-09-30 17:14:46
Your offset time is: 2020-09-30 17:14:46