Ultimate Amiga

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Sprites ?  (Read 5261 times)

0 Members and 3 Guests are viewing this topic.

BooBoo

  • Amiga Guru
  • A600
  • ****
  • Karma: 3
  • Offline Offline
  • Posts: 168
Sprites ?
« on: April 18, 2011, 12:17:23 PM »

I have to admit I find some of the info on Sprites rather baffling

Anyway ive placed some objects on the Screen using Sprite instead of BOB to try and Speed things up but when scrolling the Screen with Offset the Sprites are Moving with the Screen - Its a nice affect but I dont want them to move -Whats happening?
Logged

skateblind

  • Important 'looking' person
  • Forum Mod
  • A2000
  • *****
  • Karma: 668
  • Offline Offline
  • Gender: Male
  • Posts: 509
Re: Sprites ?
« Reply #1 on: April 18, 2011, 05:23:55 PM »

Not too sure, but I guess there must be some command you need to stop that from happening. Have you searched through the manual? RTFM!

There are probably a few demos on the Amos Pro disks that show you how screen offset works.
Logged
What are you looking at?

Hungry Horace

  • Amorphous Blue-Blob Man
  • Site Admin
  • A4000T
  • ******
  • Karma: 307
  • Offline Offline
  • Gender: Male
  • Posts: 3,364
  • Don't forget... Ameboid's need love too!
    • AUW
Re: Sprites ?
« Reply #2 on: April 18, 2011, 05:36:42 PM »

sprites are set with hardware coords are they not? so if your hardware coords change with the screen move, they will also move.

why not set the sprites at a location plus/minus the value you are moving the screen? (thus cancelling the effect)
Logged
Quote from: KillerGorilla
because winuae is made of code and your amiga is made of stuff

BooBoo

  • Amiga Guru
  • A600
  • ****
  • Karma: 3
  • Offline Offline
  • Posts: 168
Re: Sprites ?
« Reply #3 on: April 18, 2011, 06:45:51 PM »

Horace good idea! but I dont think ill have to move much
Yeah I dont think this can he helped. Ill probably change the main charter to a Sprite other stuff BOBs then the Main sprite will move with the screen and only have to move it separately when not centered and the screen isnt moving
this is probably used in a few games it doesnt help not knowing the hardware.

This will probaly be faster but id have to re calculate a load of stuff..........................

Attached Below Demo so Far - including the editor to place food/Bobs on screen your notice if you place a lot of BOBs on screen it will start to strugle - mainly in the BOB demo using a BOB for the main character
« Last Edit: April 18, 2011, 07:55:30 PM by BooBoo »
Logged

Lonewolf10

  • AMOS Extensions Developer
  • AMOS Dev
  • A2000
  • *****
  • Karma: 3
  • Offline Offline
  • Gender: Male
  • Posts: 618
    • http://www.aliensrcooluk.com
Re: Sprites ?
« Reply #4 on: August 05, 2011, 10:22:51 PM »


How is this progessing?

It runs pretty smoothly, and certainly has potential. I would love to see some new AMOS games make it to the Amiga :)


Regards,
Lonewolf10
Logged

BooBoo

  • Amiga Guru
  • A600
  • ****
  • Karma: 3
  • Offline Offline
  • Posts: 168
Re: Sprites ?
« Reply #5 on: August 07, 2011, 06:04:25 AM »

Thanks for checking out the demo
My intrest has dwindled latley - but plan to start again soon
The Demo uses a large screen and I was never able to fix the problem with Large screen BOBs - any ideas?
Ive now moved to endless hardware scrolling horizontal 2 way is working - I plan to look at 4 way maybe 8 way

Problems - that exist are How many tiles can be pasted without problems durring scrolling
Target Amiga
general Calculations and my tiny brain
Logged

BooBoo

  • Amiga Guru
  • A600
  • ****
  • Karma: 3
  • Offline Offline
  • Posts: 168
Logged

Lonewolf10

  • AMOS Extensions Developer
  • AMOS Dev
  • A2000
  • *****
  • Karma: 3
  • Offline Offline
  • Gender: Male
  • Posts: 618
    • http://www.aliensrcooluk.com
Re: Sprites ?
« Reply #7 on: November 26, 2011, 08:20:22 PM »

The AMOS default maximum bobs is 64 I believe, but you can change the settings to increase that.

Edit:
The video of Mario looks great.You have managed to get the scrolling working beautifully :)


Regards,
Lonewolf10

« Last Edit: November 27, 2011, 12:05:38 AM by Lonewolf10 »
Logged

Hungry Horace

  • Amorphous Blue-Blob Man
  • Site Admin
  • A4000T
  • ******
  • Karma: 307
  • Offline Offline
  • Gender: Male
  • Posts: 3,364
  • Don't forget... Ameboid's need love too!
    • AUW
Re: Sprites ?
« Reply #8 on: December 13, 2011, 11:32:55 AM »

Hey BooBoo.

I am looking into my own platformer again (the thing works, but the speed sucks) , and was wondering if you had any code you could upload for me to look at? (the disk image attached above no longer works)

I am interested in particular in your map collision detection, as I think this is what is slowing mine down. (i think I will have to gut it and start-over if i'm honest)

Cheers!
Logged
Quote from: KillerGorilla
because winuae is made of code and your amiga is made of stuff

BooBoo

  • Amiga Guru
  • A600
  • ****
  • Karma: 3
  • Offline Offline
  • Posts: 168
Re: Sprites ?
« Reply #9 on: December 13, 2011, 10:14:56 PM »

Hi
If we think of a Map editir and the Mouse Cursor is our Main Sprite/Hero weve already figured out X,Y -We know exactly where we are on the Map

Ive sent you a PM which may or may not be helpful  ;D
Logged

BooBoo

  • Amiga Guru
  • A600
  • ****
  • Karma: 3
  • Offline Offline
  • Posts: 168
Re: Sprites ?
« Reply #10 on: January 03, 2012, 10:33:34 AM »

Info any use? no reply?
Logged

Hungry Horace

  • Amorphous Blue-Blob Man
  • Site Admin
  • A4000T
  • ******
  • Karma: 307
  • Offline Offline
  • Gender: Male
  • Posts: 3,364
  • Don't forget... Ameboid's need love too!
    • AUW
Re: Sprites ?
« Reply #11 on: January 04, 2012, 06:59:14 PM »

Info any use? no reply?

A bit of use, thank you - yes! I see you are using Zones for your checks.

Sorry I havent had time to reply, xmas is usually a lot of free time for me, but it's been very different this year.
Logged
Quote from: KillerGorilla
because winuae is made of code and your amiga is made of stuff

BooBoo

  • Amiga Guru
  • A600
  • ****
  • Karma: 3
  • Offline Offline
  • Posts: 168
Re: Sprites ?
« Reply #12 on: January 04, 2012, 09:02:12 PM »

 Cool  ;)  no worrys hope you had a good Xmas
Logged
Pages: [1]   Go Up
 

TinyPortal 2.2.2 © 2005-2022