Commit Graph

112 Commits

Author SHA1 Message Date
n00b
b7e4281352 Fixed emscripten define 2024-12-01 21:19:52 -05:00
n00b
0b66a9294f Removed test flags 2024-12-01 17:12:50 -05:00
n00b
cfad58b99c Added delta timestep to 2d simulation 2024-12-01 00:15:41 -05:00
n00b
f008cf839b Set fixed timestep to delta time by default 2024-11-30 23:28:30 -05:00
n00b
2a78f8cf81 Removed box2d world from clone canvas 2024-11-30 22:45:20 -05:00
n00b
36cee820d3 Use SDL_GetTicks() for physics timer 2024-11-30 22:25:29 -05:00
n00b
adec3d0039 Fixed GetPixel() 2024-11-24 07:23:30 -05:00
n00b
26f89808ba Added function changes to compiler and runtime 2024-11-23 15:54:12 -05:00
n00b
d79a8f9602 Added default material for drawing 2D objects 2024-11-23 09:46:33 -05:00
n00b
b56f0185cf Fixed runtime only accepting filename main.cbc 2024-11-22 11:10:50 -05:00
n00b
f3c49b8a8b Emscripten build script 2024-11-19 00:06:41 -05:00
n00b
33ece2b755 Emscripten build script 2024-11-19 00:04:17 -05:00
n00b
5048597745 Added GetSpriteRestitutionThreshold() 2024-11-17 23:16:51 -05:00
n00b
f35b940637 Replaced loop to read numbers from code/data segments with a single cast 2024-11-15 23:07:53 -05:00
n00b
c085150def Fixed looping animations for actors 2024-11-15 22:19:40 -05:00
n00b
40ca65cb3f Added new physics functions
* Added some new physics functions
* Added new documentation
* Added some auto checks for OS to rc_os_defines.h
* Fixed bugs on settting and getting position of sprites
2024-11-15 20:42:08 -05:00
Rodney Cunningham
3f4a1ce1cc Merge pull request #17 from n00b87/sdl2_ogles2
Sdl2 ogles2
2024-11-15 09:40:54 -05:00
n00b
ac30b0f7bb Fixed a bug with getting the sprite position not using the offset for box2d 2024-11-15 09:24:19 -05:00
n00b
370c2bed33 Finalized support for emscripten build 2024-11-15 08:20:18 -05:00
n00b
73fb1bded8 Fixed sprite alignment with box2d fixtures 2024-11-13 22:31:03 -05:00
n00b
a08ab8760c Fixed paint canvas scaling on ogles2 2024-11-12 23:12:55 -05:00
arc1tec4
9e61ea1c5e Add files via upload 2024-11-11 20:02:07 -07:00
arc1tec4
78e3281bf3 Fixed-Hopefully functions 2024-11-11 16:44:14 -07:00
n00b
b66e458590 Fixed Keyboard input for WebGL 2024-11-11 13:37:23 -05:00
arc1tec4
5c53e7067b Add files via upload 2024-11-10 22:10:42 -07:00
n00b
bffa478064 Added GLES2 support 2024-11-10 19:05:55 -05:00
n00b
ece34a3989 Converted radian parameters and return values to degrees 2024-10-29 23:25:24 -04:00
n00b
2a580f9686 Finished documentation
Finished documentation on sprite physics and joints
Fixed some bugs in sprite physics
Added safety checks for joint types
Added code to free up joints when a canvas is destroyed
2024-10-28 22:22:33 -04:00
n00b
8f1b72a8e2 Added Sprite Physics and Joints 2024-10-27 23:24:37 -04:00
n00b
87ccd04589 WIP 2024-10-27 11:52:28 -04:00
n00b
a9c4921228 Merge local file changes 2024-10-21 18:48:39 -04:00
n00b
9cac24402e Finished Tiling System
* Finished working on tiling
* Changed how sprite layers work. Sprite layers are now not confined to the limits of the actual canvas but instead will decide where to draw each sprite based on the canvas offset and the sprites location
2024-10-21 18:35:13 -04:00
n00b
1033701d1d Finished rewrite of actor animation system
* Rewrote the actor animation system to work like sprites
* Renamed a few functions
* Added DeleteSpriteAnimation() and the delete queue to sprites
* Removed transitions for the time being (they don't seem to work in irrlicht right now
* Added PreUpdate() function
* Added documentation for name changes and new functions
2024-10-20 20:06:20 -04:00
n00b
6f5cb3c6d5 Complete rewrite of actor animation system 2024-10-20 01:25:53 -04:00
n00b
5762c171ae Changes to sprite animation system
* Changed the names of some of the functions
* Added functions for setting and returning the projection matrix of the active camera
* Added a function for getting the 2D screen coordinates from a 3D vector
* Added documentation for all the new functions
2024-10-18 23:12:42 -04:00
n00b
8f372bdf19 Finished changes on animation system
* Added collision callback
* Set sprite density to 1 by default
* Added default frame value of 0 on frame resize
* Changed defaults for sprite fixture
* Made changes to some of the animation functions parameters
2024-10-18 00:10:12 -04:00
n00b
9b517acae1 Sprite Animation Complete
* Animation subsystem complete
* Sprite Z Sorting complete
* Solid and Non Solid Sprites complete
* Frame looping complete
2024-10-16 21:24:58 -04:00
n00b
f9a8e828f2 Sprite Engine WIP 2024-10-15 22:57:34 -04:00
n00b
4d2e050dcf Added Sprite Transform functions 2024-10-14 21:52:48 -04:00
n00b
f5b42cf73b Moved sprite functions to separate header 2024-10-14 17:10:07 -04:00
n00b
9509b4fa65 Added ifdefs for android build with current tech stack 2024-10-13 21:59:13 -04:00
n00b
78cc1a983c Added plane mesh and new water node
* Changed the water actor to irrlichts built-in water surface node
* Added CreatePlaneMesh() function
2024-10-06 21:15:58 -04:00
n00b
641c5c86ca Added docs and project management tool update 2024-10-06 01:39:47 -04:00
n00b
00309fa481 Fixed Trim not clearing last character if its a space 2024-09-28 16:38:51 -04:00
n00b
44a2793f37 Removed binary files 2024-09-28 11:56:07 -04:00
n00b
1bf67ba02c Removed unused files 2024-09-28 11:42:19 -04:00
n00b
27e8a448ea WIP 2024-09-20 09:47:51 -04:00
n00b
72715cd17e WIP 2024-09-18 20:29:27 -04:00
n00b
a5aedb1fa7 Fixed byref variable pointer from rcbasic_build dev generator 2024-09-16 22:20:09 -04:00
n00b
526478b618 Fixed compile errors in switch cases 2024-09-15 22:37:32 -04:00