Jump to content

Recommended Posts

Posted

This video tutorial explains how to make use of the AppSpeed command. This affects many subjects such as equal rotation and position speeds, animation speed, fire rates etc.

 

A thank you to Lumooja for explaining this to me in the first place.

 

Posted

Hehe, I had a lot of fun watching this video tutorial knowing the backgrounds. Look who's talking :unsure:

The tutorial is now accurate though.

Sometimes you need also to curve the AppSpeed(), but that is not always needed, it was needed in some specific version though.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Posted

Very usefull tut, exept I struggled to read the code. Maybe its my eyesight.

amd quad core 4 ghz / geforce 660 ti 2gb / win 10

Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++

Posted

Could you explain which part that was? I can could change the zooming in and out a litlle.

 

Note that the only code I truelly explained was the AppSpeed() command. If I would explain the other code as well the tutorial would become a lot longer.

Posted

If looking from youtube, its okay with code size, i think.

 

On the other hand, it would be nice if you would add CubeSpeed parameter, so we would be able to see speed of cube before using AppSpeed in different resolutions, and after.

Working on LeaFAQ :)

Posted

Good feedback vetal thx,

 

I am rendering a new video tutorial which will be uploaded in a couple of minutes.

 

Keep the ideas for other shorties comming!!

 

*Edit

 

new version uploaded

Posted

Also when you talked about fw:update and you said we should use in the loop the "UpdateTime" command when not using fw, you could write it there. the impact would be bigger :P

 

now, is this technique used also in moving the mouse? because as i said earlier here http://leadwerks.com/werkspace/index.php?/topic/3000-equal-game-speed/page__pid__27733#entry27733 , i have this lines:

 

            //rotation by mouse
           int mx = Leadwerks.Graphics.Width / 2;
           int my = Leadwerks.Graphics.Height / 2;
           dx = Leadwerks.Math.Curve((Leadwerks.Mouse.X - mx) / 4, dx, (float)(3 / Timing.Time));
           dy = Leadwerks.Math.Curve((Leadwerks.Mouse.Y - my) / 4, dy, (float)(3 / Timing.Time));

 

and the move is not too smooth like in C++

 

and if I try to to use 0.2 * Timing.Time, I only have a blank screen...

i5 2.7Ghz, GTS 450, 8GB Ram, Win7 x64; Win8 x64

rvlgames.com - my games

RVL Games Facebook Page, YouTube Channel

 

Blitzmax :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...