|
Post by tsh73 on Dec 20, 2018 3:20:50 GMT -5
Please reply with any specific ideas you would like to see implemented. Ho ho ho. You asked for that How about 1) native multikey support - I really have now idea how it could/should work, but ability to check several keys pressed at once is essential for games, and having it at hand without calling GetAsyncKeyState will surely boost game making. 2) Rotation of sprites at arbitrary angle. I think even it would be slow - programmer could load initial sprite (from disk) and render some rotated ones to utilize in game. 3) I really would like DRAWBMP to support drawing rules (XOR etc). Though I cannot tell convincing example of it's usefulness as of now. 4) what about having MIDIPOS( ) return some measurable like ms or quarternotes? I remember it returning something strange (something like number of note in MIDI file - but notes go of different length). My guess that it'll allow somehow synchronize actions with music.
|
|
|
Post by Rod on Dec 20, 2018 4:52:49 GMT -5
I would say there isn't anything wrong with what we have now so don't break it!
Games, textual, 2d sprite based, 3d openGL based are all possible now. The latter is hard work.
Multikey support, sounds good, but keyboard input is EVENT driven currently and works well. If you mean keyboard checking on the fly in a loop then it is going to be GetAsyncKeyState driven but maybe wrapped into a command. You would need a key list array and the command would check the array and store the result. You could code it now.
Rotation of sprites, yes desirable. I have an old project that intended to rotate a small bmp and produced masked sprites. Rotation on the fly? well scaling sprites slows things down so probably rotation would too. Best to have them pre drawn I think.
Are we still burdened with the mask? Drawing bmps transparently or by rule is my biggest wish. Follow that up with flip mirror and rotate.
I really hope we have double buffering and flip/show buffer
midipos returns different things for different devices and needs set to a specific format before you query the position. A standard millisecond return would suffice for most tasks. This is what is allowed for midi.
time format milliseconds time format SMPTE fps time format SMPTE 30 drop time format song pointer
|
|
|
Post by Carl Gundel on Dec 20, 2018 8:40:39 GMT -5
Please reply with any specific ideas you would like to see implemented. Ho ho ho. You asked for that How about 1) native multikey support - I really have now idea how it could/should work, but ability to check several keys pressed at once is essential for games, and having it at hand without calling GetAsyncKeyState will surely boost game making. 2) Rotation of sprites at arbitrary angle. I think even it would be slow - programmer could load initial sprite (from disk) and render some rotated ones to utilize in game. 3) I really would like DRAWBMP to support drawing rules (XOR etc). Though I cannot tell convincing example of it's usefulness as of now. 4) what about having MIDIPOS( ) return some measurable like ms or quarternotes? I remember it returning something strange (something like number of note in MIDI file - but notes go of different length). My guess that it'll allow somehow synchronize actions with music. 1) native multikey support - Let me see about that. 2) rotation of sprites - At least I will give you 90 degree rotation. Currently you only get 180 degrees. 3) drawing rules - already in there unless I misunderstand. In my experiments doing this on the Mac is obsolete now since it antialiases and alpha blends everything, and this makes weird things happen with XOR drawing. Maybe I can fix that. 4) MIDI - Music and sound are tricky to support in a cross platform way. I'm not even sure how this is going to work yet, honestly.
|
|
|
Post by Carl Gundel on Dec 20, 2018 8:42:35 GMT -5
I would say there isn't anything wrong with what we have now so don't break it! Games, textual, 2d sprite based, 3d openGL based are all possible now. The latter is hard work. Multikey support, sounds good, but keyboard input is EVENT driven currently and works well. If you mean keyboard checking on the fly in a loop then it is going to be GetAsyncKeyState driven but maybe wrapped into a command. You would need a key list array and the command would check the array and store the result. You could code it now. Rotation of sprites, yes desirable. I have an old project that intended to rotate a small bmp and produced masked sprites. Rotation on the fly? well scaling sprites slows things down so probably rotation would too. Best to have them pre drawn I think. Are we still burdened with the mask? Drawing bmps transparently or by rule is my biggest wish. Follow that up with flip mirror and rotate. I really hope we have double buffering and flip/show buffer midipos returns different things for different devices and needs set to a specific format before you query the position. A standard millisecond return would suffice for most tasks. This is what is allowed for midi. time format milliseconds time format SMPTE fps time format SMPTE 30 drop time format song pointer OpenGL - We might see some simple support for this in say, LB 5.1? I forgot to mention in the list of new stuff that you will be able to draw on images in the background, so you won't be forced to do all your drawing operations on-screen.
|
|
|
Post by timfung5 on Dec 20, 2018 8:53:54 GMT -5
tsh73 and Rod, Both of you are professional programmers. I am very glad because I see very helpful and constructive suggestions from both of you in your posts! Thank you! Please continue to discuss and give valuable suggestions to Carl in this aspect. Carl, Thank you. I don't think that I can explain well because I am at novice level in programming. Thus I will keep silent. I hope that other members can give good suggestions to you ASAP! Other members, If you want version 5 to become more user-friendly for writing ordinary games, please don't hesitate to express your opinions. Your opinions may make a new era open in the history of Liberty BASIC.
|
|
|
Post by Carl Gundel on Dec 20, 2018 9:11:47 GMT -5
Are we still burdened with the mask? Drawing bmps transparently or by rule is my biggest wish. Follow that up with flip mirror and rotate. I may be able to provide this. I cannot guarantee good performance on all platforms.
|
|
|
Post by atomose on Dec 21, 2018 15:44:12 GMT -5
really great news ! you should make a new UI for you website with new graphism, more clean, more "2018-2019" ^^. I know its not the priority but a beautifull website is a nice showcase to sell some licence ! I tested maybe 10-15 differents programmation's language on android, linux and window and i can say : Libertybasic is realy the best !! You changed this world Carl ! Lot of thx ! Pls continue ! Never stop to upgrade LB i want that my child and little child use it in 2118 !!!
|
|
|
Post by Carl Gundel on Dec 21, 2018 17:21:32 GMT -5
really great news ! you should make a new UI for you website with new graphism, more clean, more "2018-2019" ^^. I know its not the priority but a beautifull website is a nice showcase to sell some licence ! I tested maybe 10-15 differents programmation's language on android, linux and window and i can say : Libertybasic is realy the best !! You changed this world Carl ! Lot of thx ! Pls continue ! Never stop to upgrade LB i want that my child and little child use it in 2118 !!! Thank you. I do want to do redo the website. Please tell your friends about Liberty BASIC.
|
|
|
Post by timfung5 on Dec 22, 2018 3:56:10 GMT -5
really great news ! you should make a new UI for you website with new graphism, more clean, more "2018-2019" ^^. I know its not the priority but a beautifull website is a nice showcase to sell some licence ! I tested maybe 10-15 differents programmation's language on android, linux and window and i can say : Libertybasic is realy the best !! You changed this world Carl ! Lot of thx ! Pls continue ! Never stop to upgrade LB i want that my child and little child use it in 2118 !!! Yes, I agree. However, Liberty BASIC version 5 is more important than the design of the official website. The cross-platform feature will successfully increase Liberty BASIC's share of the market.
|
|
|
Post by timfung5 on Dec 22, 2018 5:54:59 GMT -5
In my opinion, I think that some professional Liberty BASIC users can provide some simple traditional game examples for the version 5 installation file. (Simple games in 1970's.) For example, Pong, Breakout, Frogger, Snake, Asteroids, Lunar Lander, Hangman, Death Race, Sea Wolf, etc. As a result, beginners can learn from the source codes of these simple game examples. Many games in 70's are simple and therefore they are suitable for learning. It is hard for beginners to learn from complicated game examples. Sure. In the future, these beginners will not be beginners any more and they will be able to write bigger or more complicated games with the skills learnt from these simple game examples.
Therefore, I really hope that enthusiastic Liberty BASIC users who are good at game programming can provide this kind of game example for including in the version 5 installation file! Then version 5 will be very, very awesome.
|
|
|
Post by atomose on Dec 22, 2018 8:20:29 GMT -5
if you want to test some game from me its here ! LINK FOR ALL MY GAMESIm not a expert but i like to use LB for make litle or big games and i hope this games can help people to use LB for creat new game project. Im working on big projet where i will Make a big game on Steam and its 100% LB ^^ . Maybe for 2019-2020.
|
|
pol
New Member
Posts: 1
|
Post by pol on Dec 22, 2018 14:13:50 GMT -5
Liberty Basic could be the perfect language to progran the Arduino! Very complete for graphics in real time!
|
|
|
Post by timfung5 on Dec 24, 2018 1:57:17 GMT -5
if you want to test some game from me its here ! LINK FOR ALL MY GAMESIm not a expert but i like to use LB for make litle or big games and i hope this games can help people to use LB for creat new game project. Im working on big projet where i will Make a big game on Steam and its 100% LB ^^ . Maybe for 2019-2020. atomose, I think that I will download your games and play your games in this vacation. It seems that you are a very good game programmer! Furthermore, you are ambitious because you plan to develop a big 100% Liberty BASIC game and release this game on Steam. Carl, I suggest that you download atomose's games, try them and put some of these games into the installation file of version 5 when version 5 is released.
|
|
|
Post by timfung5 on Dec 24, 2018 1:58:11 GMT -5
Liberty Basic could be the perfect language to progran the Arduino! Very complete for graphics in real time! Hello.... Do you mean that Arduino is a computer game developed by you? Good!!! I encourage you to make suggestions on version 5 in this thread. Your help will make version 5 more brilliant!
|
|
|
Post by atomose on Dec 25, 2018 6:00:59 GMT -5
Thx timfung5 ^^ Im not a expert but i really love LB. As i said, its change my life hope you will like it and if you have ideas or you see somes bugs im here ^^. I hope to that LB 5 can run LB 4.5.1 bas files and will not make error with old code Some of my game have 15 000 - 20 000 lines of code (eternal quest; stargate). Any idea for LB 5 release date (alpha or not) ? price ? free for user to lb pro ?
|
|