Thomas Jentzsch Posted October 12, 2015 Share Posted October 12, 2015 Of course ideally, you could implement full gravity using the formula v=-0.5gt and play with values of g to achieve a pleasing result. That way, the drop would start slowly and gradually build up. That's dead easy to code. Assuming you have a variable for vertical speed and moving up is positive speed, you simply subtract a certain value each frame. That's gravity! 1 Quote Link to comment Share on other sites More sharing options...
+Vorticon Posted October 12, 2015 Share Posted October 12, 2015 That's dead easy to code. Assuming you have a variable for vertical speed and moving up is positive speed, you simply subtract a certain value each frame. That's gravity! Much better way of putting it given that 0.5gt increases linearly Quote Link to comment Share on other sites More sharing options...
palmheads Posted October 12, 2015 Author Share Posted October 12, 2015 Yeah that gravity calc looks achievable now, especially as I have that code where the ship is forced down implemented in a subroutine. Got stumped just on that problem for ages, but worked my way through it. My wall collisions aren't perfect against angled walls, but I think I can solve that. Feels like progress being made again! Thanks for all the positive feedback! Quote Link to comment Share on other sites More sharing options...
palmheads Posted March 2, 2016 Author Share Posted March 2, 2016 Argh been so lazy lately - must get back on this! 1 Quote Link to comment Share on other sites More sharing options...
ralphb Posted March 3, 2016 Share Posted March 3, 2016 I second this -- "busy" is a good excuse, but "lazy" is not. 2 Quote Link to comment Share on other sites More sharing options...
+Vorticon Posted March 3, 2016 Share Posted March 3, 2016 I second this -- "busy" is a good excuse, but "lazy" is not. Not really. The hobby is not an assignment but an escape. If one feels forced to work on a hobby project when feeling "lazy", then there is no fun to be had... Go ahead: feel as lazy as you want. It probably means that you need some rest 6 Quote Link to comment Share on other sites More sharing options...
ralphb Posted March 4, 2016 Share Posted March 4, 2016 Not really. Geez ... how many do you need to acknowledge a jocular encouragement? 1 Quote Link to comment Share on other sites More sharing options...
+Vorticon Posted March 4, 2016 Share Posted March 4, 2016 Geez ... how many do you need to acknowledge a jocular encouragement? More than 3! Anything less and I take it too seriously... I am really looking forward to the completed game though. 3 Quote Link to comment Share on other sites More sharing options...
palmheads Posted March 5, 2016 Author Share Posted March 5, 2016 Ha! Thanks guys! Been a glorious summer here in Christchurch, NZ. Been enjoying not sitting in front of the 'puter (except at work)...got some potentially horrible melanomas from our vicious sun, but hey... ...sorry to go all GoT...winter IS coming... So suspect will get back into my wee project cobbled together with luck, flukes, Computes great assembly language book, ralphb's xdt tools and the help and encouragement of you lot on this great forum! 2 Quote Link to comment Share on other sites More sharing options...
palmheads Posted March 28, 2016 Author Share Posted March 28, 2016 (edited) WOO! Progress! Have got some gravity working. Might be hard to see, but the ship actually speeds up as it heads downwards. Unfortunately adding 1 line of code to initialise a count (outside main game loop) that I increment (within game loop) somehow has meant I cannot now rotate my ship right! WTF. Will work on that! Anyway, progress - finally cheers Daryn Edited March 28, 2016 by palmheads 6 Quote Link to comment Share on other sites More sharing options...
+Vorticon Posted March 28, 2016 Share Posted March 28, 2016 Very nice The ship seems to accelerate too quickly though. You might want to slow its fall a bit. 1 Quote Link to comment Share on other sites More sharing options...
palmheads Posted March 28, 2016 Author Share Posted March 28, 2016 Very nice The ship seems to accelerate too quickly though. You might want to slow its fall a bit. yeah it does huh! haha - was just stoked to actually get it accelerating to the ground! =) will definitely tweak it more Quote Link to comment Share on other sites More sharing options...
palmheads Posted April 11, 2016 Author Share Posted April 11, 2016 Got my ship making a sound when it collides with something! Yet again, the Compute book comes up trumps! Followed the example given in the book. 2 Quote Link to comment Share on other sites More sharing options...
palmheads Posted June 29, 2016 Author Share Posted June 29, 2016 Hi Apols for terrible sound quality, but here is a small update. Just designed a wee header showing dummy data for fuel, score etc and an example of sound when the shop hits something cheers Daryn 4 Quote Link to comment Share on other sites More sharing options...
palmheads Posted February 2, 2017 Author Share Posted February 2, 2017 (edited) Just a wee update on this. Got stuck (and associated mental block) about how to handle my ship shooting "something". Figure the bullet needs to be a sprite and then trigger collision detection and proximity etc. Just didn't know how to approach it. Then I realised TI-Invaders has source code, so am going to use that for some hints. As I'm piecing things together, I have to rely on some solid example code. This is still on my bucket list! Edited February 2, 2017 by palmheads 2 Quote Link to comment Share on other sites More sharing options...
ti99iuc Posted December 28, 2018 Share Posted December 28, 2018 Hey Palmheads maybe some update on this one too? Quote Link to comment Share on other sites More sharing options...
palmheads Posted December 30, 2018 Author Share Posted December 30, 2018 Hi guys Done nothing in a while I'm afraid. Although am about to be made redundant thanks to these Texas Capitalist **** buying the company I work for in NZ...forbes article about them... https://www.forbes.com/sites/nathanvardi/2018/11/19/how-a-mysterious-tech-billionaire-created-two-fortunesand-a-global-software-sweatshop/#7439ab76cffe I may have alot of downtime & therefore more time for hobbies over next few months. cheers Dazza Quote Link to comment Share on other sites More sharing options...
+TheBF Posted December 30, 2018 Share Posted December 30, 2018 Hi guys Done nothing in a while I'm afraid. Although am about to be made redundant thanks to these Texas Capitalist **** buying the company I work for in NZ...forbes article about them... https://www.forbes.com/sites/nathanvardi/2018/11/19/how-a-mysterious-tech-billionaire-created-two-fortunesand-a-global-software-sweatshop/#7439ab76cffe I may have alot of downtime & therefore more time for hobbies over next few months. cheers Dazza "Tryba argues that the current cloud wage for a C++ programmer, for example, is $15 an hour. That’s what Amazon pays its warehouse workers." Wow! Standby for a major standard of living reduction in the developed world. 1 Quote Link to comment Share on other sites More sharing options...
Willsy Posted December 30, 2018 Share Posted December 30, 2018 What they haven't reckoned on is this: Given the choice between coding for $15 an hour or stacking shelves, I'll stack the shelves thank you very much. I can turn up, do my shift, and go home again without dealing with all the other crap that goes with software engineering such as design documentation, myriad meetings, other people's defective code and requirements capture, and a whole host of other stressful issues! 4 Quote Link to comment Share on other sites More sharing options...
+Ksarul Posted December 30, 2018 Share Posted December 30, 2018 Not to mention the spyware they require to be loaded on your computer to allow them continuous monitoring of your activities, the total lack of employee benefits (in the US, that also means that the entire contribution to Social Security and Medicare come out of that $15, double what an employee would usually pay as the company is required to pay half of those costs for employees), and the mandatory unpaid time to meet unrealistic deadlines. The stacker/packer job for the same wage is looking better by the minute. . .and not to forget, that coder gets zero sick leave and vacation time as an independent contractor too. No thanks. 4 Quote Link to comment Share on other sites More sharing options...
ti99iuc Posted December 30, 2018 Share Posted December 30, 2018 [...Although am about to be made redundant thanks to these Texas Capitalist **** buying the company I work for in NZ...forbes article about them... I may have alot of downtime & therefore more time for hobbies over next few months...] I am living almost the same situation in Italy. lost my job in 2016 still struggling to find another one- TI99 helping me to not think too much. 1 Quote Link to comment Share on other sites More sharing options...
palmheads Posted January 5, 2019 Author Share Posted January 5, 2019 I am living almost the same situation in Italy. lost my job in 2016 still struggling to find another one- TI99 helping me to not think too much. Hobbies are a great distraction! Good luck, hopefully you can find a role that makes you happy & gives you enough moola! 1 Quote Link to comment Share on other sites More sharing options...
palmheads Posted January 5, 2019 Author Share Posted January 5, 2019 We find out this week how long they want to keep us. Won't say much more until after gone. But yeah, I think feelings are rather obvious. Ugh. cheers Dazza Quote Link to comment Share on other sites More sharing options...
GDMike Posted January 27, 2019 Share Posted January 27, 2019 Here here, willsy! I was the only tech at Raytheon for 3 years and meetings, emails to respond to, the local pressure to produce results in three areas at once, take care of outages from storms etc.. AND then I have to do MY work and documentation, enter my workload status', enter my clock in out times tickets... It just all came crashing Down and I said goodbye!!! It ain't worth it!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.