Search found 13 matches

by KilljoyHeathen
Wed Feb 19, 2014 3:14 am
Forum: Announcement
Topic: SpiderBasic 1.00 is out !
Replies: 438
Views: 242851

Re: SpiderBasic 1.00 alpha 3

Looks cool, am glad to see you guys taking future-proof steps.

Thing is now you are making it increasingly difficult not to buy Purebasic...I didn't say it was a problem. :D

Good luck, can't wait for *actual* release.
by KilljoyHeathen
Sun Feb 16, 2014 4:14 pm
Forum: Game Programming
Topic: 2D Game Screen Mouse Move Speed Becomes Slowly
Replies: 16
Views: 9959

Re: 2D Game Screen Mouse Move Speed Becomes Slowly

I just added Delay(20) after your repeat and it sped up and was fine. I have to do this with all my window apps so far.
by KilljoyHeathen
Sun Feb 16, 2014 4:04 pm
Forum: Coding Questions
Topic: Correct/Fastest way of drawing a selection box?
Replies: 2
Views: 713

Re: Correct/Fastest way of drawing a selection box?

I didn't realize there was a free version. I seen the paperback version but wasn't ready to put out money for it yet until I was sure or comfortable with PureBASIC.

Will look for the book thank you for the suggestion. :)
by KilljoyHeathen
Sun Feb 16, 2014 6:54 am
Forum: Coding Questions
Topic: Correct/Fastest way of drawing a selection box?
Replies: 2
Views: 713

Correct/Fastest way of drawing a selection box?

Promise to be my last post for awhile, I just really like this language and since there is such a wealth of info from people much more experienced than I.........Yea yea shut up and get to the point right..

I am drawing a selection box for a simple start of a strategy game now I have read through ...
by KilljoyHeathen
Sun Feb 16, 2014 1:10 am
Forum: Coding Questions
Topic: DisplaySprite only displays empty white blocks.
Replies: 4
Views: 893

Re: DisplaySprite only displays empty white blocks.

Ah....yes I just finished reading that in the help file :oops:

Thank you for the quick response.
by KilljoyHeathen
Sat Feb 15, 2014 9:42 pm
Forum: Coding Questions
Topic: DisplaySprite only displays empty white blocks.
Replies: 4
Views: 893

Re: DisplaySprite only displays empty white blocks.

If I change it to:

InitSprite()
InitKeyboard()
UsePNGImageDecoder()

MySprite = LoadSprite(#PB_Any,"./Media/Devil.png")
;LoadSprite(0,"./Media/Devil.png")
OpenScreen(800,600,32,"Something...",#PB_Screen_SmartSynchronization)

X.w = 0
Y.w = 0
ClearScreen(RGB(0,0,0))
For c = 1 To 1000
X = Random ...
by KilljoyHeathen
Sat Feb 15, 2014 9:18 pm
Forum: Coding Questions
Topic: DisplaySprite only displays empty white blocks.
Replies: 4
Views: 893

DisplaySprite only displays empty white blocks.

I was just testing out code speed with images and sprites. The code with the images works fine, when I change it to sprites all I get is white blocks. I am assuming it's a fail on my part not a bug.

With Image:
InitSprite()
InitKeyboard()
UsePNGImageDecoder()

MyImage = LoadImage(#PB_Any, "./Media ...
by KilljoyHeathen
Sat Feb 15, 2014 8:13 pm
Forum: Coding Questions
Topic: Receive a string on a OpenScreen
Replies: 11
Views: 2003

Re: Receive a string on a OpenScreen

Ok, I am convinced. I am definitley going with the windowed screens, PureBASIC is sooo cool! Off-Topic: I was searching the forums about the visual designer and came across the C.Boss post........wow what a read....I feel dumber now for putting myself through it. lol.
by KilljoyHeathen
Sat Feb 15, 2014 5:13 pm
Forum: Coding Questions
Topic: Receive a string on a OpenScreen
Replies: 11
Views: 2003

Re: Receive a string on a OpenScreen

Thanks VB! I hope to make a run with this and if things look good after a bit I am going to purchase the full version.

@BasicallyPure: I pretty much edited your procedure the same as what you got there to make it work, thats too bad about it being buggy. Are windowed screens quicker/slower/same as ...
by KilljoyHeathen
Sat Feb 15, 2014 5:10 am
Forum: Coding Questions
Topic: Receive a string on a OpenScreen
Replies: 11
Views: 2003

Re: Receive a string on a OpenScreen

Thanks, again. The backspace and return keys don't work, is it the wrong keycode??....Guess not the table those codes. I am using Linux if that makes a difference? I will fool around with it, much appreciated.
by KilljoyHeathen
Sat Feb 15, 2014 4:18 am
Forum: Coding Questions
Topic: Receive a string on a OpenScreen
Replies: 11
Views: 2003

Re: Receive a string on a OpenScreen

Awesome, thanks for the code, the cursor is handy. Your code, looks much more eloquent, will use as an example.
by KilljoyHeathen
Sat Feb 15, 2014 12:25 am
Forum: Coding Questions
Topic: Receive a string on a OpenScreen
Replies: 11
Views: 2003

Re: Receive a string on a OpenScreen

Well it is in a procedure to be included in a program, like entering name for high score. It needs to return a string and the loop break is when the user hits enter. I guess I should put that info in the code.


....There edited so it will display a message saying what to do and how to exit.
by KilljoyHeathen
Fri Feb 14, 2014 11:22 pm
Forum: Coding Questions
Topic: Receive a string on a OpenScreen
Replies: 11
Views: 2003

Receive a string on a OpenScreen

Hey Pure-world!
This is my virgin post lol. Anyways I am fairly new to programming, and just curious if my following code is the only way/correct way to recieve user input while in a fullscreen enviroment. The code is the KeyboardInkey() help code modified. The original did not allow for CAPS. It ...