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 DBPro Corner / remarks Rem

Author
Message
m2design
14
Years of Service
User Offline
Joined: 25th Mar 2010
Location: Seattle area
Posted: 25th Mar 2010 23:06 Edited at: 14th Apr 2010 09:04
Post removed
Ashingda 27
16
Years of Service
User Offline
Joined: 15th Feb 2008
Location:
Posted: 25th Mar 2010 23:59
Remstart
Remend
TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 26th Mar 2010 00:29
Don't forget you have the F1 key when DB is loaded.

Check out the Commands section and look at the Core Commands.

If you highlight a command in the editor with the mouse before pressing F1, it will jump straight to that command.

TDK

m2design
14
Years of Service
User Offline
Joined: 25th Mar 2010
Location: Seattle area
Posted: 27th Mar 2010 06:38
Real question:I can not find a command that will allow me to rotate a sprite or image around it's center.All my rotations appear to pin the rotation to a corner handle.In my old language
I would just issue a midhandle command to locate all images using a center handle.

Thanks for the hints on the remarks question.
I feel a little stupid for not figuring this out myself.
I have been programming in blitz3d for several years and old
habits are hard to break.
Teh Stone
14
Years of Service
User Offline
Joined: 12th Dec 2009
Location:
Posted: 31st Mar 2010 00:49
First off there not hints he toldyou exactly how to do it

and secondly just use the OFFSET SPRITE command I can't remeber the exact parametrez but I think that of is offset sprite sprite number,x offset,y offset

to centre a sprite take the sprite number and put it in then half of the image width for the x offset and half of the image height for the y offset

on my iPod atm so sorry if it a bit wrong but I'm 95% sure it's correct
=PRoF=
21
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 1st Apr 2010 11:23
teh Stone is indeed correct.

OFFSET SPRITE Sprite Number, XOffset, YOffset

You might also want to look up the sprite width() and sprite height() commands in the help files to help you

luskos
17
Years of Service
User Offline
Joined: 28th Jun 2007
Location:
Posted: 1st Apr 2010 13:53 Edited at: 1st Apr 2010 17:35
@me2design
For second time past few days i`m posting this one:
http://forum.thegamecreators.com/?m=forum_view&t=16471&b=4
It`s just what you need!

Where there is a will, there is a way.
I often edit my posts, that`s who i am

Login to post a reply

Server time is: 2024-11-23 16:49:47
Your offset time is: 2024-11-23 16:49:47