Search found 680 matches

by h4tt3n
Jan 20, 2018 11:16
Forum: Community Discussion
Topic: Using FreeBASIC in the classroom?
Replies: 11
Views: 2045

Using FreeBASIC in the classroom?

Hello folks, I have just landed a very exciting job as a math & science teacher in an alternative-type school where teachers are allowed - and even encouraged - to seek new ways of teaching their pupils besides classic "chalkboard lecturing". My first thought was of course: "Hell ...
by h4tt3n
Jan 20, 2018 10:29
Forum: Hardware Interfaces / Communication
Topic: DIY hardware interface for simple data collection and robot control?
Replies: 62
Views: 25614

DIY hardware interface for simple data collection and robot control?

Hello folks, I have just landed a very exciting job as a 5th to 8th grade math/science teacher, and I am planning on using FB as an integral part of my education. I'll be teaching in a type of school with less restrictions, and there is considerably less "chalkboard teaching" than in a typ...
by h4tt3n
Dec 28, 2017 9:27
Forum: Community Discussion
Topic: time to say goodbye
Replies: 53
Views: 6888

Re: time to say goodbye

Dammit Joshy, I am really sorry about your decision to leave - mostly for entirely egoistical reasons. I meant to ask for your opinion on a project I have been working on for some time (the physics engine we have been discussing). Is there any way to contact you outside this forum?

Cheers, Mike
by h4tt3n
Dec 18, 2017 19:14
Forum: Libraries
Topic: set up SDL2
Replies: 37
Views: 4028

Re: set up SDL2

Now that I am able to compile and run the C++ SDL2 program examples successfully I thought it might be interesting to see if I could translate some of the simpler ones to FreeBASIC. Has anyone done this and knows how to set it all up? Yes, I will zip my folders with tutorial c++ to fb translated ex...
by h4tt3n
Nov 25, 2017 9:13
Forum: Tips and Tricks
Topic: draw rotated ellipse
Replies: 8
Views: 1169

Re: rotate oval

Here is an example of how to draw rotated ellipses without calling sine and cosine for every iteration. This version is *much* faster and less CPU expensive than the other examples posted here so far. Cheers, Mike '' Very fast ellipse drawing function by Michael "h4tt3n" Nissen '' version ...
by h4tt3n
Nov 11, 2017 3:34
Forum: Projects
Topic: Alvarian Tales
Replies: 21
Views: 5401

Re: Alvarian Tales

Really gorgeous pixel art! Brings back memories of the good old 16 bit Amiga years :-)
by h4tt3n
Oct 29, 2017 20:58
Forum: Game Dev
Topic: Frame rate independent game loop
Replies: 60
Views: 6441

Re: Frame rate independent game loop

I will, and yes I'm very familiar with Thomas Jacobsen's verlet paper - this brings fun memories from the old, original Hitman game in which he and his colleagues implemented it :-)
by h4tt3n
Oct 29, 2017 18:15
Forum: Game Dev
Topic: Frame rate independent game loop
Replies: 60
Views: 6441

Re: Frame rate independent game loop

Teaming up for something? Count me in! What kind of stuff you're interested in? 2D? 3D? And what kind of game, concretely? I need some fun (I'm sick of financial coding stuff) so this could be very interesting. I would love to see your physics stuff. If time permits, I'll show you a simple implemen...
by h4tt3n
Oct 29, 2017 12:20
Forum: Game Dev
Topic: Frame rate independent game loop
Replies: 60
Views: 6441

Re: Frame rate independent game loop

Hi there Paul, Yeah, I just realized that the rendering was only used for setting up the demo, not in the main loop, so never mind. It's just an old habit of mine to optimize stuff :-) I don't think the forum is dead at all, there's new exciting stuff to look into almost every day - like your nice e...
by h4tt3n
Oct 29, 2017 11:02
Forum: Game Dev
Topic: Frame rate independent game loop
Replies: 60
Views: 6441

Re: Frame rate independent game loop

This is really nice work, points for sharing your code. I took a quick glance at your metaball drawing algorithm and got rid of the nasty doubly for-loop nested square root call in renderer.bi: sub FBRenderer.drawMetaballImage( byval context as IRenderContext ptr ) /' Draws a 'metaball' This functio...
by h4tt3n
Oct 27, 2017 5:20
Forum: Libraries
Topic: TinyGL for FreeBASIC.
Replies: 26
Views: 13849

Re: TinyGL for FreeBASIC.

This is great Joshy, just what I need for rendering in my light weight 2D game engine. I like how you can render openGL stuff and at the same time use native fb gfx. My Lenovo laptop: OS: Win10 CPU: AMD A10 GPU: AMD Radeon R6 series FPS: ~650-850 (kept fluctuating) My ThinkCentre tabletop: OS: Win10...
by h4tt3n
Oct 08, 2017 18:42
Forum: Community Discussion
Topic: [offtopic but true]R.I.P
Replies: 13
Views: 2675

Re: [offtopic but true]R.I.P

Joshy, I am really sorry for your loss. My condolences to you.

I know how it feels to loose a close friend like that. I hope that we here in the community can help you get through the tough times.

Cheers, Michael
by h4tt3n
Oct 03, 2017 21:45
Forum: General
Topic: Property vs. Sub?
Replies: 8
Views: 616

Re: Property vs. Sub?

h4tt3n, just rewrite your entire engine from scratch. Damn you Joshy, but you are probably right - again :-( Are you saying I should strip away all types and simply store all vars and functions in a big pile without any encapsulation? Trouble is, my current oop structure lets me do something I coul...
by h4tt3n
Oct 03, 2017 20:21
Forum: Projects
Topic: Making pixel based 3D objects - VASE
Replies: 4
Views: 668

Re: Making pixel based 3D objects - VASE

This is really cool BasicCoder2! I think I have a fix for the blank spots that allow you to see through the models. Rather than moving each pixel to it's right place (which tend to leave empty spots here and there), you go backwards and find the right pixel for each point on the model surface. I mad...

Go to advanced search