Search found 18 matches

by kcraft
Tue Jul 27, 2004 6:09 pm
Forum: General Discussion
Topic: General IP Questions
Replies: 4
Views: 1447

General IP Questions

Is there a simple program already done in PureBasic that retrieves my external IP Address from my router? If not, can it be done with PureBasic.
by kcraft
Thu Aug 07, 2003 9:35 pm
Forum: Game Programming
Topic: Gravity
Replies: 8
Views: 4914

sin and cos

in reply to sin/cos

I kinda figured that I would. I was playing around with it earlier, made the mountains much taller, then tried to jump off of them and I basically hopped down the side, one step at a time. :-) It was rather funny. I have another game that I am baseing my movement off of, and ...
by kcraft
Wed Aug 06, 2003 9:48 pm
Forum: Game Programming
Topic: Gravity
Replies: 8
Views: 4914

Thanks Lars

Thanks again! That really helps, I tweaked it a bit by putting a check in at the jump key

basically if ImJumping = 1 ignore the space bar.
by kcraft
Wed Aug 06, 2003 7:18 pm
Forum: Game Programming
Topic: Gravity
Replies: 8
Views: 4914

Great!

That helps. Now I understand how it works. Thanks Alot.

lol. Now we have to figure out jumping, and we're set! :-)
by kcraft
Wed Aug 06, 2003 4:36 am
Forum: Feature Requests and Wishlists
Topic: Wishlist for PB
Replies: 6
Views: 2125

DOH!

I feel dumb now. Thats exactly what I was looking for. I must have been looking at a different example for this, its not listed in the first example I have.
by kcraft
Tue Aug 05, 2003 5:23 pm
Forum: Game Programming
Topic: Gravity
Replies: 8
Views: 4914

Gravity

I posted in the Features request list about adding a function for Gravity. I attempted what was sent to me in a reply, but the results are semi-good?

Heres the code (more below the code):


;
; ------------------------------------------------------------
;
; PureBasic - SkyDome
;
; (c) 2003 ...
by kcraft
Mon Aug 04, 2003 5:21 pm
Forum: Feature Requests and Wishlists
Topic: Wishlist for PB
Replies: 6
Views: 2125

Thank you

I will try that when I get home today. I had originally tried something to that effect, however didn't use the CameraY function. I used the movecamera(camera#, x, y, z) function. I think you are right on this one, as the problem I was having was either the camera went straight up, straight down, or ...
by kcraft
Mon Aug 04, 2003 4:11 pm
Forum: Feature Requests and Wishlists
Topic: Wishlist for PB
Replies: 6
Views: 2125

Wishlist for PB

I've been working with a friend on a 3D game using PB and have come to a stand still. Our menuing system is complete, PureBasic does an awesome job with the speed in switching between menu options. (MUCH faster than DarkBasic, and we set the menu system up very similar to the one we did with DB ...
by kcraft
Sun Jul 20, 2003 5:12 am
Forum: Game Programming
Topic: Grabbing Numeric Strings to use as data
Replies: 2
Views: 2054

Eureeka!

Thank you. I couldn't figure that out. Now that that is finished, my menu system will be finished soon. :-D thanks again
by kcraft
Sun Jul 20, 2003 3:08 am
Forum: Game Programming
Topic: Grabbing Numeric Strings to use as data
Replies: 2
Views: 2054

Grabbing Numeric Strings to use as data

I am trying to read a string of numbers from a file, to use as numeric variables, I can't use ReadString() and ReadWord(), ReadLong(), ReadFloat() etc, all return extremely high values. See code below



if FileSize("screensettings.txt") = -1
width=800
height=600
else
ReadFile(0, "screensettings ...
by kcraft
Sat Jul 19, 2003 3:59 pm
Forum: Game Programming
Topic: Displaying a second screen in full screen mode:
Replies: 1
Views: 2100

Displaying a second screen in full screen mode:

Working on a full screen options page, and can't figure out how to display a second screen.

I have a page with controls on it, when a user clicks on the option to change the control, I would like it to switch to a small box with a cursor so that they can type in the new setting. I try to use ...
by kcraft
Wed Jul 16, 2003 3:32 pm
Forum: Coding Questions
Topic: Stupid Programming Question
Replies: 1
Views: 1181

Stupid Programming Question

I'm having a bit of memory loss here...

I have 3 files. Each one is a different section of my program (main, option, option2). I want to switch between the files when I click on the corresponding button.

for instance, on Main I'd click Option, Main would close and Option would open. I'd do what I ...
by kcraft
Wed Jul 16, 2003 2:04 am
Forum: Coding Questions
Topic: Windows Error when I exit the compiler (is it my code?)
Replies: 2
Views: 1521

Update to problem

I rebooted the machine, and tested again.

I ran it once, and everything worked. I ran it a second time, and it died on me.

Could it be a "Not releasing memory" problem?

thanks again.

*** Update (((( I learned how to use the EDIT button for my posts :-D))))

I changed:

q = 0
to
End

Scratch ...
by kcraft
Wed Jul 16, 2003 1:42 am
Forum: Coding Questions
Topic: Windows Error when I exit the compiler (is it my code?)
Replies: 2
Views: 1521

Windows Error when I exit the compiler (is it my code?)

I downloaded the new demo version (3.72) and have ditched my efforts at working with the 3d mesh until later on. Here is my new problem.

I have a 2D background, using the mouse and mouse events for a main menu system. However, when I click Exit, or hit escape for that matter, It exits the compiler ...
by kcraft
Mon Jul 14, 2003 9:10 pm
Forum: Coding Questions
Topic: Camera and Mesh Questions (I'm new)
Replies: 9
Views: 2540

Interesting

I have version 3.62, I downloaded that from the site, Friday... Interesting. Ok, I have my second guy installing it and running through it now. when I get home I'll take a look at the new stuff. hopefully that will solve my issues.

Thanks alot!