1. Post #201
    DarkShadow6's Avatar
    September 2009
    537 Posts
    Code:
    Set [0x8000], 0xf053 ; S
    Set [0x8001], 0xf065 ; e
    Set [0x8002], 0xf074 ; t
    Set [0x8004], 0xf041 ; A
    Set [0x8005], 0xf02c ; ,
    Set [0x8007], 0xf037 ; 7
    Set [0x8008], 0xf030 ; 0
    Set [0x8020], 0xf041 ; A
    Set [0x8021], 0xf064 ; d
    Set [0x8022], 0xf064 ; d
    Set [0x8024], 0xf041 ; A
    Set [0x8025], 0xf02c ; ,
    Set [0x8027], 0xf034 ; 4
    Set [0x8028], 0xf030 ; 0
    Set [0x8040], 0xf053 ; S
    Set [0x8041], 0xf075 ; u
    Set [0x8042], 0xf062 ; b
    Set [0x8044], 0xf041 ; A
    Set [0x8045], 0xf02c ; ,
    Set [0x8047], 0xf035 ; 5
    Set [0x8048], 0xf030 ; 0
    
    Set A, 70
    Add A, 40
    Sub A, 50
    
    :Infinity
    Set PC, Infinity
    What.
    Reply With Quote Edit / Delete Windows 7 United States Show Events Dumb Dumb x 10Funny Funny x 1Agree Agree x 1 (list)

  2. Post #202
    Gold Member
    Hentie's Avatar
    May 2010
    2,129 Posts
    I noticed half of those bugs after i posted it. And I have the calculations on some papers if you wish to see them?

    First off all locations are local, so there are a lot of substractions,
    So to calculate the yaw, you look down at the sphere. Draw 2 dots: the Sphere center and the player position. Then you draw the triangle, which is rectangle on the x and y lines.
    Then, to calculate the pitch, I had to calculate the hypotenuse of the yaw triangle, meaning pythagoras theorem, this will be the adjacent length, and the opposite length will be the z offset.

    And only after did i notice the can model has offsets :(
    you need to simulate the centripetal force (normal) and path of inertia (perpendicular of the normal):
    Reply With Quote Edit / Delete Windows 7 United States Show Events Lua Helper Lua Helper x 4Artistic Artistic x 3 (list)

  3. Post #203
    Robots FTW
    SiPlus's Avatar
    December 2011
    888 Posts
    It's DCPU-16 assembly code used in the demonstration.
    Reply With Quote Edit / Delete Windows 8 Russian Federation Show Events

  4. Post #204
    DarkShadow6's Avatar
    September 2009
    537 Posts
    It's DCPU-16 assembly code used in the demonstration.
    DCPU... Everyone's all about that. I see it everywhere. What is it?
    Reply With Quote Edit / Delete Windows 7 United States Show Events Late Late x 4Funny Funny x 1 (list)

  5. Post #205
    CoderHire
    _Undefined's Avatar
    November 2007
    1,466 Posts
    DCPU... Everyone's all about that. I see it everywhere. What is it?
    http://www.0x10c.com/

    http://www.0x10c.com/doc/dcpu-16.txt
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events

  6. Post #206
    Robots FTW
    SiPlus's Avatar
    December 2011
    888 Posts
    Reply With Quote Edit / Delete Windows 8 Russian Federation Show Events

  7. Post #207
    Gold Member
    dingusnin's Avatar
    February 2010
    2,040 Posts
    you need to simulate the centripetal force (normal) and path of inertia (perpendicular of the normal):
    Yes, But how would i set the angles to the prop i have parented the player to? Otherwise the rander angles wouldn't change.
    Reply With Quote Edit / Delete Windows 7 France Show Events

  8. Post #208
    Gold Member
    Hentie's Avatar
    May 2010
    2,129 Posts
    Yes, But how would i set the angles to the prop i have parented the player to? Otherwise the rander angles wouldn't change.
    Then you're looking at applying torque.
    Check out PhysObj.ApplyForceOffset( Vector force, Vector position )
    Reply With Quote Edit / Delete Windows 7 United States Show Events Lua Helper Lua Helper x 2 (list)

  9. Post #209
    Gold Member
    dingusnin's Avatar
    February 2010
    2,040 Posts
    As far as I know, you cannot use that on players. This hole idea was an orbital pvp. If players don't rotate around planets then I won't work.
    Reply With Quote Edit / Delete France Show Events

  10. Post #210
    Gold Member
    Hentie's Avatar
    May 2010
    2,129 Posts
    As far as I know, you cannot use that on players. This hole idea was an orbital pvp. If players don't rotate around planets then I won't work.
    I thought you were trying to use it on a prop.
    If you're trying to make players do that you'd have to edit how players set up their movement and all that, you just can't set their velocity and angle.

    If you want the player to face the right way I guess you have to set their angle to ( player:GetPos() - center_of_gravity ):Angle():Up():Angle()
    and then adjust the yaw.
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  11. Post #211
    DarkShadow6's Avatar
    September 2009
    537 Posts
    I know about the website/game, I just don't know what the point/subject of it all is.
    Yes, fine, rate me clocks.
    I also should probably not try to understand such things at 5 in the morning. Good ni-day.
    Reply With Quote Edit / Delete Windows 7 United States Show Events Dumb Dumb x 6 (list)

  12. Post #212
    Gold Member
    Hentie's Avatar
    May 2010
    2,129 Posts
    I know about the website/game, I just don't know what the point/subject of it all is.
    Yes, fine, rate me clocks.
    I also should probably not try to understand such things at 5 in the morning. Good ni-day.
    people like it because

    I guess it doesn't help the fact that I don't like simple things in general; I like to challenge myself :\
    Reply With Quote Edit / Delete Windows 7 United States Show Events Funny Funny x 1 (list)

  13. Post #213
    Gold Member
    slayer3032's Avatar
    November 2007
    3,500 Posts
    I was bored so I made this script that loads the lrc file for a song, nothing special.


    Code:
    [00:00.01]Take On Me
    [00:04.02]A-Ha
    [00:08.04]..........
    [00:34.36]We're talking away
    [00:37.46]I don't know what
    [00:39.14]I'm to say I'll say it anyway
    [00:43.13]Today's another day to find you
    [00:46.42]Shying away
    [00:49.27]I'll be coming for your love, OK?
    [00:51.89]Take on me (take on me)
    [00:57.57]Take me on (take on me)
    [01:03.23]I'll be gone
    [01:08.10]In a day or two
    [01:14.05]So needless to say
    [01:17.20]I'm odds and ends
    [01:18.102]But I'll be stumbling away
    [01:23.03]Slowly learning that life is OK.
    [01:25.97]Say after me
    [01:29.08]It's no better to be safe than sorry
    [01:31.63]Take on me (take on me)
    [01:37.40]Take me on (take on me)
    [01:42.94]I'll be gone
    [01:47.62]In a day or two
    [02:33.71]Oh the things that you say
    [02:36.93]Is it live or
    [02:38.44]Just to play my worries away
    [02:42.40]You're all the things I've got to remember
    [02:45.65]You're shying away
    [02:48.62]I'll be coming for you anyway
    [02:51.16]Take on me (take on me)
    [02:56.79]Take me on (take on me)
    [03:02.54]I'll be gone
    [03:07.47]In a day
    [03:12.41]Take on me (take me one)
    [03:19.51]I'll be gone (take on me)
    [03:24.46]In a day
    I'm going to be very angry if there isn't a karaoke server where I can absolutely slaughter this and many other songs with my horrible singing.
    Reply With Quote Edit / Delete Windows 7 United States Show Events Funny Funny x 5Agree Agree x 3 (list)

  14. Post #214
    Gold Member
    LemONPLaNE's Avatar
    January 2008
    3,612 Posts
    I'm going to be very angry if there isn't a karaoke server where I can absolutely slaughter this and many other songs with my horrible singing.
    It's perfect! Like a karaoke bar without the social aspect!
    Reply With Quote Edit / Delete Windows 8 Sweden Show Events Agree Agree x 2Funny Funny x 1Optimistic Optimistic x 1 (list)

  15. Post #215
    Gold Member
    Hentie's Avatar
    May 2010
    2,129 Posts
    i'm remaking the video, except screaming

    here's screenshot of what i did

    i made a module named gmcl_wordwrap that calculates huge chunks of texts and translates it into a table that you can render.
    right now its just letter wrapping, but I hope to get word wrapping ported from lua to C++ soon.
    the text that it currently wraps and draws is the console text.
    before, when I was wordwrapping in lua, my framerate would drop to a measly 2 fps. now its at a steady 60fps.

    the wrapping works extremely well when the font is monospaced, right now it looks shitty because the module can't grab an HFont object and it can't get the correct size of each letter, so it reads from a table.


    I also experimented with doing the drawing in the module as well, but after doing some tests I concluded that there wasn't really a difference in framerate.

    also, HAT demonstration at the end of the video where I play the animations.
    Reply With Quote Edit / Delete Windows 7 United States Show Events Informative Informative x 1 (list)

  16. Post #216
    Gold Member
    Instant Mix's Avatar
    October 2006
    3,885 Posts
    Excellent i like the animations of certain generators, along with the wiring it creates for linking. very creative way to have a wire model sort of thing to link.
    .. It's not mine , I just put that there showing FoohyAB what the frontier guys were doing.
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events

  17. Post #217
    Robots FTW
    SiPlus's Avatar
    December 2011
    888 Posts
    Added AND, BOR, XOR, STI and STD instructions to my DCPU-16 emulator.
    Reply With Quote Edit / Delete Windows 8 Russian Federation Show Events

  18. Post #218
    wizardsbane's Avatar
    January 2008
    372 Posts
    you need to simulate the centripetal force (normal) and path of inertia (perpendicular of the normal):
    I must point out for the sake of accuracy that "centrifugal force" does not exist. There is nothing "pushing" the object outwards. The object maintains its circular path due to the inertial force wanting to go forward (perpendicular to the centripetal force) and the centripetal force pulling it back towards the centre. This is proven by the fact that if you were to cut the rope, the ball would not eject diagonally forward from its location (a sign that two forces are creating a vector product), but perpendicular to the applied centripetal force.

    Now with support: http://www.physicsclassroom.com/class/circles/u6l1d.cfm
    Reply With Quote Edit / Delete Windows Vista United States Show Events Agree Agree x 3Informative Informative x 1 (list)

  19. Post #219
    Robots FTW
    SiPlus's Avatar
    December 2011
    888 Posts
    I must point out for the sake of accuracy that "centrifugal force" does not exist.
    Simulate it with slightly tilted towards the opposite of the prop velocity vector?
    Reply With Quote Edit / Delete Windows 8 Russian Federation Show Events

  20. Post #220
    wizardsbane's Avatar
    January 2008
    372 Posts
    Simulate it with slightly tilted towards the opposite of the prop velocity vector?
    You can simulate whatever you want. I'm commenting on the inaccuracy of that image which is supposed to be describing the forces present in that situation. Centrifugal force does not exist in the real world.
    Reply With Quote Edit / Delete Windows Vista United States Show Events Agree Agree x 3 (list)

  21. Post #221
    Gold Member
    Divran's Avatar
    April 2008
    2,629 Posts
    snip, nevermind
    Reply With Quote Edit / Delete Windows 7 Sweden Show Events

  22. Post #222
    Gold Member
    LemONPLaNE's Avatar
    January 2008
    3,612 Posts
    I must point out for the sake of accuracy that "centrifugal force" does not exist. There is nothing "pushing" the object outwards. The object maintains its circular path due to the inertial force wanting to go forward (perpendicular to the centripetal force) and the centripetal force pulling it back towards the centre. This is proven by the fact that if you were to cut the rope, the ball would not eject diagonally forward from its location (a sign that two forces are creating a vector product), but perpendicular to the applied centripetal force.

    Now with support: http://www.physicsclassroom.com/class/circles/u6l1d.cfm
    I'm more worked up about the fact that the guy holding the rope isn't the center of the circle.
    Reply With Quote Edit / Delete Windows 8 Sweden Show Events Funny Funny x 9Agree Agree x 6 (list)

  23. Post #223
    wizardsbane's Avatar
    January 2008
    372 Posts
    I'm more worked up about the fact that the guy holding the rope isn't the center of the circle.
    Haha, that was actually the first thing that entered my mind when I saw the image. I was worried about the misinformation, though. Faulty physics makes for faulty assumptions and faulty assumptions makes for faulty simulation/whatever.
    Reply With Quote Edit / Delete Windows Vista United States Show Events

  24. Post #224
    Gold Member
    marvincmarvin's Avatar
    January 2011
    796 Posts
    Haha, that was actually the first thing that entered my mind when I saw the image. I was worried about the misinformation, though. Faulty physics makes for faulty assumptions and faulty assumptions makes for faulty simulation/whatever.
    This reminds me of starwars when Yoda gave Anakin the speech about how fear inevitably leads to suffering.
    Reply With Quote Edit / Delete Windows 7 United States Show Events Funny Funny x 4 (list)

  25. Post #225
    Gold Member
    Hentie's Avatar
    May 2010
    2,129 Posts
    I must point out for the sake of accuracy that "centrifugal force" does not exist. There is nothing "pushing" the object outwards. The object maintains its circular path due to the inertial force wanting to go forward (perpendicular to the centripetal force) and the centripetal force pulling it back towards the centre. This is proven by the fact that if you were to cut the rope, the ball would not eject diagonally forward from its location (a sign that two forces are creating a vector product), but perpendicular to the applied centripetal force.

    Now with support: http://www.physicsclassroom.com/class/circles/u6l1d.cfm
    I forgot to mention that the website I stole the image from called centrifugal force "nonexistant force".
    The image doesn't address that, but I never said anything about simulating centrifugal force.
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  26. Post #226
    wizardsbane's Avatar
    January 2008
    372 Posts
    I forgot to mention that the website I stole the from called centrifugal force "nonexistant force".
    The image doesn't address that, but I never said anything about simulating centrifugal force.
    I'm not saying you did. I'm commenting on the inaccurate nature of the image in order to make sure that anyone who views it understands that it has a major flaw in it.

    That "non-existent force" shouldn't even be in the image. In fact, that makes whoever made the image a terribly hilarious moron, because it admits to being non-extant and still includes the non-extant force in a diagram summarising the forces at play in that situation. Wat.
    Reply With Quote Edit / Delete Windows Vista United States Show Events

  27. Post #227
    Gold Member
    Hentie's Avatar
    May 2010
    2,129 Posts

    r u happy
    Reply With Quote Edit / Delete Windows 7 United States Show Events Friendly x 5Funny x 4Agree x 1Zing x 1Artistic x 1 (list)

  28. Post #228
    wizardsbane's Avatar
    January 2008
    372 Posts

    r u happy
    Yes :3
    Reply With Quote Edit / Delete Windows Vista United States Show Events Funny Funny x 4Optimistic Optimistic x 2 (list)

  29. Post #229
    My Blog
    Spencer Sharkey's Avatar
    July 2009
    1,958 Posts
    Uhh, just a scoreboard.

    Reply With Quote Edit / Delete Windows 7 United States Show Events Artistic Artistic x 12Disagree Disagree x 2 (list)

  30. Post #230
    geekdeer

    December 2009
    216 Posts
    Uhh, just a scoreboard.

    Awesome !! I love it !

    Some one should make a scoreboard based on themed skin from Steam !
    Reply With Quote Edit / Delete Windows 7 Canada Show Events Disagree Disagree x 7Friendly Friendly x 1 (list)

  31. Post #231
    Gold Member
    Feihc's Avatar
    October 2006
    1,080 Posts
    Uhh, just a scoreboard.

    Finally, someone that knows how to make a scoreboard that DOESN'T look like complete ass.

    Nice work, yet again Spence
    Reply With Quote Edit / Delete Windows 7 United States Show Events Disagree Disagree x 6Friendly Friendly x 4Agree Agree x 2 (list)

  32. Post #232
    My Blog
    Spencer Sharkey's Avatar
    July 2009
    1,958 Posts
    Final Verison, I suppose.
    Reply With Quote Edit / Delete Windows 7 United States Show Events Artistic Artistic x 9Disagree Disagree x 2 (list)

  33. Post #233
    Gold Member
    Llamalord's Avatar
    August 2009
    699 Posts
    Final Verison, I suppose.
    Ahh well it seems that Sassalization has gone so down hill they recruited this guy. I miss Sassafrass. :(
    Reply With Quote Edit / Delete Windows 7 United States Show Events Dumb x 18Funny x 2Agree x 2Late x 1Friendly x 1Disagree x 1Zing x 1Informative x 1 (list)

  34. Post #234
    Gold Member
    marvincmarvin's Avatar
    January 2011
    796 Posts
    It's good you can rip content made by others and claim you made it. Seems to be something you're talented at.
    He didn't say he made it. (in this thread)
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  35. Post #235
    Gold Member
    Hentie's Avatar
    May 2010
    2,129 Posts
    It's good you can rip content made by others and claim you made it. Seems to be something you're talented at.
    Spencer's blog:
    Reply With Quote Edit / Delete Windows 7 United States Show Events Agree Agree x 1 (list)

  36. Post #236
    Gold Member
    Llamalord's Avatar
    August 2009
    699 Posts
    Spencer's blog:
    What was Spacetech thinking..

    (User was banned for this post ("Trolling" - Gran PC))
    Reply With Quote Edit / Delete Windows 7 United States Show Events Dumb Dumb x 16Funny Funny x 1 (list)

  37. Post #237
    Kate Adams
    COBRAa's Avatar
    June 2009
    980 Posts
    Uhh, just a scoreboard.

    At least it doesn't have a giant dick across it like the old one.
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events Optimistic Optimistic x 3 (list)

  38. Post #238
    Sassafrass's Avatar
    May 2007
    62 Posts
    Final Verison, I suppose.
    Looks good.
    Reply With Quote Edit / Delete Mac United States Show Events Funny Funny x 16Agree Agree x 3Disagree Disagree x 2Informative Informative x 1 (list)

  39. Post #239
    Gold Banana
    Banana Lord.'s Avatar
    May 2010
    6,852 Posts
    What was Spacetech thinking..
    Do you really have a reason to be here besides flaming someone's work? His scoreboard looks great, if you aren't going to provide constructive criticism then you probably shouldn't be here. And look, I'll give you an example of how this works:

    The scoreboard looks great, but is there a difference between Status and Spec? I've never played Sass
    Reply With Quote Edit / Delete Windows 7 United States Show Events Agree Agree x 6Friendly Friendly x 4 (list)

  40. Post #240
    Sicojnr's Avatar
    October 2011
    22 Posts
    Very nice Spencer, as usual.
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events Friendly Friendly x 2 (list)