English
Forum

Stationary Sprite scrolling background

 
Hi,
I write straight one JumpnRun with the ProSpeedDLL. The screen sees so from: supra is a status-groin (Sprite) and under hold the Spielfeld (background).

The problem is, that the status-groin always with the background moving, and with SetSpritePos slips tappt im dunkeln always hither and thither and the sees naturally not well from.

gives it a Solution, so tappt im dunkeln stand remaining?
Sincerely,
Sebastian
 
04/19/04  
 



evening Sebastian,

i'd status-Line in of/ one Extra-Memory bitmap take off and then by copyextbmp into Window (or which copy) bring.

hope I could help,
Moritz
 
04/19/04  
 



Hello Moritz,

no, no,
the Have I already attempts, either has the background tappt im dunkeln covers or tappt im dunkeln flimmerte.

goes the because at all ?
 
04/19/04  
 



the goes !!!

is clear the the flackert, because How You already correctly. recognized have, your scrollender background tappt im dunkeln covers, I know now not whether one with InitSpriteBackground only Vollbild-Backgrounds produce can, but positionieren can tappt im dunkeln apparently not.
otherwise could you time try The höhe in InitSpriteBackground To change and your status-row with copyextbmp down (below the Backgrounds) settle.
the goes certainly somehow, i'm unfortunately neither so one Sprite-master. must time Waiting To you Frank answer!

so, I must now in that bed, To then
Moritz
 
04/19/04  
 



Hello Sebastian,

your Status Bar must You simply as Sprite define and there settle, where You want. The Changes inside the Status Bar make You then not the Hauptbildschirm, separate in the SpriteBitmap. so can you even The Status Bar quick one/switch off, or moving etc...
You can also only Punktestand or amount life etc. as Sprite into graphic settle, the sees very professionel from. In my Breakout-demonstration Have I the so made, look there time to.

by then

Frank
 
04/19/04  
 



Ups, there Have I you well mißverstanden. you have The Status Bar already as Sprite declared...

OK, a Status Bar without to judder, Scrolling or Flackern describe the new Moorhuhn-demonstration for ProSpeed, what me Stephan Dehne available set has. look you there still time whom Sourcecode on, this is always on the verständlichsten. You find it on of my Homepage.

by then,

Frank
 
04/19/04  
 



Hello Frank,
these groin is under. my (really only two Lines Text) is supra !

Sebastian
 
04/19/04  
 



Hello over again,

erwischt !!! i'm too no Solution invaded, sorry. there Have I well gepennt. but we're Yes any only Humans.

i'm a little while ago over a Sprite-automatic transmission on the Grübeln been, Perhaps ließe itself one new mode install: Sprite always on the equal Screen-Coordinates hold... whether the though in the next Update already realized go can, can I you not yet promise. can you so life ???

by then,

Frank
 
04/19/04  
 



clear can I so life. Perhaps find I indeed with the middle-aged Scroll-Variante a Solution ...
Sincerely,
Sebastian
 
04/19/04  
 



These Email Have I straight to Sebastian sent...

Hello Sebastian. here Have I The Solution your Problems:

SpriteScrollMode (H,M)
Ändert the Bewegungverhalten one Sprites with aktivem Bildschirmscrolling.
H : Long - lever one with InitSprite() begot Sprites
M : Long - mode, 0 = normal, The Spritekoordinaten are relatively to Nullachse the Hintergrundsgrafik.
1 = new, The Spritekoordinaten are relatively to Nullachse the Programmfensters.

Ergebniss: Long - 0
in the mode 1 can now too Sprites release, The utterly unbeweglich on screen stand stay can, alike, How very the background too gescrollt becomes.

with the function can you one Sprite utterly quiet on screen hold, alike how much You too herumscrollst. in the attachment find You a Betaversion the ProSpeed.dll.
I hope the power you happy.

Schreib time pointed functions...

by then,

Frank Abbing

P.s. Can your game already testing...???
 
04/19/04  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

8.311 Views

Untitledvor 0 min.
Jochen Roxlau03/24/15
Ernst04/18/14
funkheld01/08/14
iF04/28/13
More...

Themeninformationen

this Topic has 1 subscriber:

unbekannt (10x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie