Search found 680 matches

by h4tt3n
Sep 25, 2018 11:00
Forum: Game Dev
Topic: AI TANKS first draft
Replies: 90
Views: 27160

Re: AI TANKS first draft

Just stop yourselves right there guys. You are ruining a perfectly nice project with your pointless bickering. Start coding instead, either in this thread or elsewhere, it doesn't matter.
by h4tt3n
Sep 01, 2018 15:05
Forum: Community Discussion
Topic: FreeBASIC Community produced game
Replies: 130
Views: 13704

Re: FreeBASIC Community produced game

badidea wrote:
h4tt3n wrote:I don't know if this would be of any help, but ...

Sounds interesting. No battle tanks in your code I suppose?


No, as mentioned this wold probably only be useful if we stick to the space battle type game.
by h4tt3n
Sep 01, 2018 12:38
Forum: Community Discussion
Topic: FreeBASIC Community produced game
Replies: 130
Views: 13704

Re: FreeBASIC Community produced game

I don't know if this would be of any help, but I have spent quite a bit of time developing a physics engine specially for 2D space type games. It has commands for creating planets, asteroid belts and entire solar systems with complex orbits, deriving orbit data from state vectors, drawing orbits on ...
by h4tt3n
Jun 23, 2018 13:32
Forum: Game Dev
Topic: What is good cross platform gameloop?
Replies: 47
Views: 8835

Re: What is good cross platform gameloop?

Here is the "Fix your timestep" game loop tutorial by Glemm Fiedler, converted to FreeBASIC. Cheers, Mike Part 1: Fixed delta time '' '' Glenn Fiedler game loop tutorial '' Code sample # 1 '' http://gafferongames.com/game-physics/fix-your-timestep/ '' Fixed delta time 'double t = 0.0; 'dou...
by h4tt3n
Jun 23, 2018 13:21
Forum: Game Dev
Topic: What is good cross platform gameloop?
Replies: 47
Views: 8835

Re: What is good cross platform gameloop?

Hello folks, First post in a looong time. I've been tampering with a game loop that treats framerate a bit as a damped spring or a constraint. As much cpu time as possible is freed with sleep. By setting the "stiffness" c_sleep to a near 1.0 value, it reaches an equilibrium faster, but you...
by h4tt3n
Feb 13, 2018 11:11
Forum: Hardware Interfaces / Communication
Topic: DIY hardware interface for simple data collection and robot control?
Replies: 62
Views: 25635

Re: DIY hardware interface for simple data collection and robot control?

Hello again, I've been looking into things and have decided on the Arduino. I have ordered an Arduino Uno and Mega and some extra shields for sensor input and motor control. The programming ide is very straight forward to use for anyone with basic programming skills, and when the mailman arrives I'l...
by h4tt3n
Jan 27, 2018 9:16
Forum: Community Discussion
Topic: Using FreeBASIC in the classroom?
Replies: 11
Views: 2046

Re: Using FreeBASIC in the classroom?

Thanks everyone for your replies, you've given me some tracks to follow.
by h4tt3n
Jan 27, 2018 9:13
Forum: Community Discussion
Topic: Using FreeBASIC in the classroom?
Replies: 11
Views: 2046

Re: Using FreeBASIC in the classroom?

So, I'd like to know if anyone here have any practical experience with programming as a teaching tool? No, my thoughts: If I look at a list of physics topics like on http://www.physicsclassroom.com/Class , I see some topics where code could be used to visualise concepts. Mostly mechanics (motion, a...
by h4tt3n
Jan 25, 2018 17:57
Forum: Hardware Interfaces / Communication
Topic: DIY hardware interface for simple data collection and robot control?
Replies: 62
Views: 25635

Re: DIY hardware interface for simple data collection and robot control?

Apart from the hardware, do you have practical (automation) ideas that the students would interest? Yes. Most of it is pretty straight-forward. For the input part, I want to measure if a certain switch is on or off. I'd also like to measure frequency / rotations per second when comparing different ...
by h4tt3n
Jan 25, 2018 17:47
Forum: Hardware Interfaces / Communication
Topic: DIY hardware interface for simple data collection and robot control?
Replies: 62
Views: 25635

Re: DIY hardware interface for simple data collection and robot control?

Do you know of an economic, software controllable piece of hardware that will allow us to flip a series of pins on/off or do measurements on them? Yes, have a look at Arduino, or any of the many Clones: "Open Source HW", as well as plenty possible add on Modules (for many specific tasks, ...
by h4tt3n
Jan 25, 2018 17:46
Forum: Hardware Interfaces / Communication
Topic: DIY hardware interface for simple data collection and robot control?
Replies: 62
Views: 25635

Re: DIY hardware interface for simple data collection and robot control?

If I am not mistaken, what I am taking away from this discussion so far is that my students won't be able to solder up a piece of hardware by themselves that will allow them to do simple data collection and robot control from a modern PC? Well do they need to solder? It is common now to use a solde...
by h4tt3n
Jan 24, 2018 20:07
Forum: Hardware Interfaces / Communication
Topic: DIY hardware interface for simple data collection and robot control?
Replies: 62
Views: 25635

Re: DIY hardware interface for simple data collection and robot control?

Thanks for all your replies, I didn't know it was such a sensitive topic. While I know that the old serial / parallel ports are decommissioned, I expected there to be a newer alternative - which there apparently is not?!? Oh, I miss the old days with full hardware access... If I am not mistaken, wha...
by h4tt3n
Jan 20, 2018 12:47
Forum: Hardware Interfaces / Communication
Topic: DIY hardware interface for simple data collection and robot control?
Replies: 62
Views: 25635

Re: DIY hardware interface for simple data collection and robot control?

Instead of buying a new PC with a parallel port (might be difficult to find one), you could check if USB->X converters could do the job. See e.g. My New Laptop Does Not Have Any RS232 Ports . If you search for USB to Printer DB25 25-Pin Parallel Port Cable Adapter on the website of a well-known onl...
by h4tt3n
Jan 20, 2018 12:45
Forum: Hardware Interfaces / Communication
Topic: DIY hardware interface for simple data collection and robot control?
Replies: 62
Views: 25635

Re: DIY hardware interface for simple data collection and robot control?

I know controlling stuff on an old PC with a parallel port is a bit outdated NO, its not just "outdated", it is in ICT terms: "Dinosaur-technologies". And, your pupils will be the first, to tell you all about it! @grindstone, we are talking about young kids here (not "old&q...
by h4tt3n
Jan 20, 2018 12:27
Forum: Hardware Interfaces / Communication
Topic: DIY hardware interface for simple data collection and robot control?
Replies: 62
Views: 25635

Re: DIY hardware interface for simple data collection and robot control?

Great project! I've done a lot of such stuff in the past and I'd like to offer you my support (including the derivation of the Bresenham algo from the line equation). First of all: To keep things easy you will need a computer with a parallel port and for Win >= XP a driver called "inpout32.dll...

Go to advanced search